Skip to content

Commit e155dde

Browse files
Update lib/src/installer/completion_installation.dart
Co-authored-by: Felix Angelov <felangelov@gmail.com>
1 parent 64da741 commit e155dde

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/src/installer/completion_installation.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class CompletionInstallation {
118118
writeToShellConfigFile(rootCommand);
119119

120120
if (completionFileCreated) {
121-
adviseSource(rootCommand);
121+
_logSourceInstructions(rootCommand);
122122
}
123123
}
124124

@@ -274,8 +274,7 @@ class CompletionInstallation {
274274
}
275275

276276
/// Tells the user to source the shell configuration file.
277-
@visibleForTesting
278-
void adviseSource(String rootCommand) {
277+
void _logSourceInstructions(String rootCommand) {
279278
final level = logger.level;
280279
logger
281280
..level = Level.info

0 commit comments

Comments
 (0)