Skip to content

Commit

Permalink
Merge branch 'master' into misc/shared-analysis-config
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough authored Jun 26, 2024
2 parents c4c533f + 75417c0 commit 0a39e9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dwds/debug_extension/tool/build_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import 'package:args/args.dart';
import 'package:path/path.dart' as p;

const _prodFlag = 'prod';
const _mv2Flag = 'mv2';

void main(List<String> arguments) async {
final parser = ArgParser()
Expand All @@ -27,14 +26,13 @@ void main(List<String> arguments) async {

exitCode = await run(
isProd: argResults[_prodFlag] as bool,
isMV2: argResults[_mv2Flag] as bool,
);
if (exitCode != 0) {
_logWarning('Run terminated unexpectedly with exit code: $exitCode');
}
}

Future<int> run({required bool isProd, required bool isMV2}) async {
Future<int> run({required bool isProd}) async {
_logInfo(
'Building extension for ${isProd ? 'prod' : 'dev'}',
);
Expand Down

0 comments on commit 0a39e9c

Please sign in to comment.