We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06bd39d commit 7578549Copy full SHA for 7578549
bricks/create_dart_frog/hooks/post_gen.dart
@@ -6,14 +6,14 @@ Future<void> run(HookContext context) async {
6
final projectDirectory = path.canonicalize(
7
context.vars['output_directory'] ?? Directory.current.path,
8
);
9
- final done = context.logger.progress('Installing dependencies');
+ final progress = context.logger.progress('Installing dependencies');
10
await Process.run(
11
'dart',
12
['pub', 'get'],
13
runInShell: true,
14
workingDirectory: projectDirectory,
15
16
- done();
+ progress.complete();
17
18
context.logger
19
..info('')
0 commit comments