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 = () => {
88
88
89
89
exports . updateCache = ( ) => {
90
90
const spinner = ora ( ) ;
91
- spinner . start ( 'Updating' ) ;
91
+ spinner . start ( 'Updating... ' ) ;
92
92
return cache . update ( )
93
93
. then ( ( ) => {
94
94
spinner . succeed ( ) ;
@@ -101,7 +101,7 @@ exports.updateCache = () => {
101
101
102
102
exports . updateIndex = ( ) => {
103
103
const spinner = ora ( ) ;
104
- spinner . start ( 'Creating index' ) ;
104
+ spinner . start ( 'Creating index... ' ) ;
105
105
search . createIndex ( )
106
106
. then ( ( ) => {
107
107
spinner . succeed ( ) ;
@@ -145,12 +145,12 @@ function printBestPage(command, options={}) {
145
145
return exit ( ) ;
146
146
}
147
147
// If not found, try to update
148
- spinner . start ( 'Page not found. Updating cache' ) ;
148
+ spinner . start ( 'Page not found. Updating cache... ' ) ;
149
149
return cache . update ( ) ;
150
150
} )
151
151
. then ( ( ) => {
152
152
spinner . succeed ( ) ;
153
- spinner . start ( 'Creating index' ) ;
153
+ spinner . start ( 'Creating index... ' ) ;
154
154
return search . createIndex ( ) ;
155
155
} )
156
156
. then ( ( ) => {
@@ -188,7 +188,7 @@ function checkStale() {
188
188
cache . lastUpdated ( )
189
189
. then ( ( stats ) => {
190
190
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"' ) ;
192
192
}
193
193
} )
194
194
. catch ( ( err ) => {
You can’t perform that action at this time.
0 commit comments