Skip to content

Commit 426c7bb

Browse files
simplify
1 parent 37a18a9 commit 426c7bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/add_imports/bin/add_imports.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ void main(List<String> arguments) {
4444
final inits = classes.map((e) => 'self.$e = $e');
4545

4646
final newSource = [
47-
imports.join('\n'),
48-
inits.join('\n'),
47+
...imports,
48+
...inits,
4949
sourceString,
5050
].join('\n');
5151

0 commit comments

Comments
 (0)