chore: format

This commit is contained in:
2024-01-16 02:46:48 +02:00
committed by Chen Asraf
parent ac0d01e803
commit 6b324894c9
3 changed files with 1 additions and 6 deletions

View File

@@ -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>() ?? {},
);
@@ -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();
@@ -294,4 +292,3 @@ enum OS {
linux,
// other
}

View File

@@ -201,4 +201,3 @@ class RunnableScript {
}
}
}

View File

@@ -182,4 +182,3 @@ Future<void> _writePubspec(FileSystem fs, [String? contents]) async {
].join('\n'),
);
}