File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ exports.clearCache = () => {
8888
8989exports . updateCache = ( ) => {
9090 const spinner = ora ( ) ;
91- spinner . start ( 'Updating' ) ;
91+ spinner . start ( 'Updating... ' ) ;
9292 return cache . update ( )
9393 . then ( ( ) => {
9494 spinner . succeed ( ) ;
@@ -101,7 +101,7 @@ exports.updateCache = () => {
101101
102102exports . updateIndex = ( ) => {
103103 const spinner = ora ( ) ;
104- spinner . start ( 'Creating index' ) ;
104+ spinner . start ( 'Creating index... ' ) ;
105105 search . createIndex ( )
106106 . then ( ( ) => {
107107 spinner . succeed ( ) ;
@@ -145,12 +145,12 @@ function printBestPage(command, options={}) {
145145 return exit ( ) ;
146146 }
147147 // If not found, try to update
148- spinner . start ( 'Page not found. Updating cache' ) ;
148+ spinner . start ( 'Page not found. Updating cache... ' ) ;
149149 return cache . update ( ) ;
150150 } )
151151 . then ( ( ) => {
152152 spinner . succeed ( ) ;
153- spinner . start ( 'Creating index' ) ;
153+ spinner . start ( 'Creating index... ' ) ;
154154 return search . createIndex ( ) ;
155155 } )
156156 . then ( ( ) => {
@@ -188,7 +188,7 @@ function checkStale() {
188188 cache . lastUpdated ( )
189189 . then ( ( stats ) => {
190190 if ( stats . mtime < Date . now ( ) - ms ( '30d' ) ) {
191- console . warn ( 'Cache is out of date, you should run "tldr --update"' ) ;
191+ console . warn ( 'Cache is out of date. You should run "tldr --update"' ) ;
192192 }
193193 } )
194194 . catch ( ( err ) => {
You can’t perform that action at this time.
0 commit comments