Skip to content

Commit

Permalink
Remove remaining MV2 logic
Browse files Browse the repository at this point in the history
Fixes #2450
  • Loading branch information
bkonyi committed Jun 24, 2024
1 parent c566112 commit fa29a4c
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 fa29a4c

Please sign in to comment.