Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
chenasraf committed Jan 16, 2024
1 parent ac0d01e commit 6b32489
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions lib/src/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ class ScriptRunnerConfig {
final source = sourceMap.values.first;
final configSource = sourceMap.keys.first;


final env = <String, String>{}..addAll(
(source['env'] as Map?)?.cast<String, String>() ?? {},
);
Expand Down Expand Up @@ -175,8 +174,7 @@ class ScriptRunnerConfig {

static Future<Map<String, Map>> _tryFindConfig(
FileSystem fs, String startDir) async {
final explorer =
Unaconfig('script_runner', fs: fs);
final explorer = Unaconfig('script_runner', fs: fs);
final config = await explorer.search();
if (config != null) {
final source = await explorer.findConfig();
Expand Down Expand Up @@ -294,4 +292,3 @@ enum OS {
linux,
// other
}

1 change: 0 additions & 1 deletion lib/src/runnable_script.dart
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,3 @@ class RunnableScript {
}
}
}

1 change: 0 additions & 1 deletion test/config_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,3 @@ Future<void> _writePubspec(FileSystem fs, [String? contents]) async {
].join('\n'),
);
}

0 comments on commit 6b32489

Please sign in to comment.