@@ -98,7 +98,7 @@ export class AutoCompletionService implements IAutoCompletionService {
98
98
this . removeObsoleteAutoCompletion ( ) ;
99
99
100
100
if ( this . scriptsOk && this . scriptsUpdated ) {
101
- this . $logger . out ( "Restart your shell to disable command auto-completion." ) ;
101
+ this . $logger . info ( "Restart your shell to disable command auto-completion." ) ;
102
102
}
103
103
}
104
104
@@ -108,7 +108,7 @@ export class AutoCompletionService implements IAutoCompletionService {
108
108
this . removeObsoleteAutoCompletion ( ) ;
109
109
110
110
if ( this . scriptsOk && this . scriptsUpdated ) {
111
- this . $logger . out ( "Restart your shell to enable command auto-completion." ) ;
111
+ this . $logger . info ( "Restart your shell to enable command auto-completion." ) ;
112
112
}
113
113
}
114
114
@@ -155,11 +155,11 @@ export class AutoCompletionService implements IAutoCompletionService {
155
155
this . scriptsUpdated = true ;
156
156
}
157
157
} catch ( err ) {
158
- this . $logger . out ( "Unable to update %s. Command-line completion might not work." , fileName ) ;
158
+ this . $logger . info ( "Unable to update %s. Command-line completion might not work." , fileName ) ;
159
159
// When npm is installed with sudo, in some cases the installation cannot write to shell profiles
160
160
// Advise the user how to enable autocompletion after the installation is completed.
161
161
if ( ( err . code === "EPERM" || err . code === "EACCES" ) && ! this . $hostInfo . isWindows && process . env . SUDO_USER ) {
162
- this . $logger . out ( "To enable command-line completion, run '$ %s autocomplete enable'." , this . $staticConfig . CLIENT_NAME ) ;
162
+ this . $logger . info ( "To enable command-line completion, run '$ %s autocomplete enable'." , this . $staticConfig . CLIENT_NAME ) ;
163
163
}
164
164
165
165
this . $logger . trace ( err ) ;
@@ -179,8 +179,8 @@ export class AutoCompletionService implements IAutoCompletionService {
179
179
} catch ( err ) {
180
180
// If file does not exist, autocompletion was not working for it, so ignore this error.
181
181
if ( err . code !== "ENOENT" ) {
182
- this . $logger . out ( "Failed to update %s. Auto-completion may still work or work incorrectly. " , fileName ) ;
183
- this . $logger . out ( err ) ;
182
+ this . $logger . info ( "Failed to update %s. Auto-completion may still work or work incorrectly. " , fileName ) ;
183
+ this . $logger . info ( err ) ;
184
184
this . scriptsOk = false ;
185
185
}
186
186
}
@@ -211,7 +211,7 @@ export class AutoCompletionService implements IAutoCompletionService {
211
211
this . $fs . chmod ( filePath , "0644" ) ;
212
212
}
213
213
} catch ( err ) {
214
- this . $logger . out ( "Failed to update %s. Auto-completion may not work. " , filePath ) ;
214
+ this . $logger . info ( "Failed to update %s. Auto-completion may not work. " , filePath ) ;
215
215
this . $logger . trace ( err ) ;
216
216
this . scriptsOk = false ;
217
217
}
0 commit comments