Skip to content

Commit

Permalink
Update lib/src/installer/completion_installation.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Angelov <felangelov@gmail.com>
  • Loading branch information
renancaraujo and felangel committed Dec 15, 2022
1 parent 64da741 commit e155dde
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/src/installer/completion_installation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class CompletionInstallation {
writeToShellConfigFile(rootCommand);

if (completionFileCreated) {
adviseSource(rootCommand);
_logSourceInstructions(rootCommand);
}
}

Expand Down Expand Up @@ -274,8 +274,7 @@ class CompletionInstallation {
}

/// Tells the user to source the shell configuration file.
@visibleForTesting
void adviseSource(String rootCommand) {
void _logSourceInstructions(String rootCommand) {
final level = logger.level;
logger
..level = Level.info
Expand Down

0 comments on commit e155dde

Please sign in to comment.