Skip to content

Commit a27b8ef

Browse files
committed
pr stuff
1 parent ccd0f60 commit a27b8ef

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

lib/src/installer/completion_installation.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,13 @@ class CompletionInstallation {
278278
void adviseSource(String rootCommand) {
279279
final level = logger.level;
280280
logger
281-
..level = Level.debug
282-
..detail(
281+
..level = Level.info
282+
..info(
283283
'\n'
284284
'Completion files installed. To enable completion, run the following '
285285
'command in your shell:\n'
286-
'source $_shellRCFilePath\n',
286+
'${lightCyan.wrap('source $_shellRCFilePath')}'
287+
'\n',
287288
)
288289
..level = level;
289290
}

test/src/installer/completion_installation_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ void main() {
292292
verify(() => logger.level = Level.debug).called(1);
293293

294294
verify(
295-
() => logger.detail(
295+
() => logger.info(
296296
'\n'
297297
'Completion files installed. To enable completion, run the '
298298
'following command in your shell:\n'
@@ -339,7 +339,7 @@ void main() {
339339
verifyNever(() => logger.level = Level.debug);
340340

341341
verifyNever(
342-
() => logger.detail(
342+
() => logger.info(
343343
'\n'
344344
'Completion files installed. To enable completion, run the '
345345
'following command in your shell:\n'

0 commit comments

Comments
 (0)