Skip to content

Commit 7578549

Browse files
authored
chore(bricks): update mason_logger in create brick hook (#68)
1 parent 06bd39d commit 7578549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bricks/create_dart_frog/hooks/post_gen.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Future<void> run(HookContext context) async {
66
final projectDirectory = path.canonicalize(
77
context.vars['output_directory'] ?? Directory.current.path,
88
);
9-
final done = context.logger.progress('Installing dependencies');
9+
final progress = context.logger.progress('Installing dependencies');
1010
await Process.run(
1111
'dart',
1212
['pub', 'get'],
1313
runInShell: true,
1414
workingDirectory: projectDirectory,
1515
);
16-
done();
16+
progress.complete();
1717

1818
context.logger
1919
..info('')

0 commit comments

Comments
 (0)