File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ exports.render = (file) => {
64
64
}
65
65
// Getting the shortindex first to populate the shortindex var
66
66
index . getShortIndex ( ( ) => {
67
- renderContent ( content , { } ) ;
67
+ renderContent ( content ) ;
68
68
} ) ;
69
69
} ) ;
70
70
} ;
@@ -123,9 +123,7 @@ function printPages(pages, singleColumn) {
123
123
console . log ( '\n' + pages . join ( delimiter ) ) ;
124
124
}
125
125
126
- function printBestPage ( command , options ) {
127
- // TODO: replace with default parameter if Node v4 support dropped.
128
- options = options || { } ;
126
+ function printBestPage ( command , options = { } ) {
129
127
/* eslint-disable */ // To allow not checking for err
130
128
// Trying to get the page from cache first
131
129
cache . getPage ( command , ( err , content ) => {
You can’t perform that action at this time.
0 commit comments