Skip to content

Commit e3fcc02

Browse files
optional semicolon bugfix (#5)
1 parent 87754c3 commit e3fcc02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/add_imports/bin/add_imports.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ String createNewSource(String sourceString, Config config) {
3939
.toList();
4040

4141
return [
42-
...[config.importStringForClass, (e) => 'self.$e = $e']
42+
...[config.importStringForClass, (e) => 'self.$e = $e;']
4343
.map(classes.map)
4444
.flattened,
4545
sourceString,

0 commit comments

Comments
 (0)