From 75417c09181c97786d9539a662834bed9d2f1e77 Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Wed, 26 Jun 2024 15:08:09 -0400 Subject: [PATCH] Remove remaining MV2 logic (#2453) Fixes https://github.com/dart-lang/webdev/issues/2450 --- dwds/debug_extension/tool/build_extension.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dwds/debug_extension/tool/build_extension.dart b/dwds/debug_extension/tool/build_extension.dart index c3425a844..a3cdbf2df 100644 --- a/dwds/debug_extension/tool/build_extension.dart +++ b/dwds/debug_extension/tool/build_extension.dart @@ -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 arguments) async { final parser = ArgParser() @@ -27,14 +26,13 @@ void main(List 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 run({required bool isProd, required bool isMV2}) async { +Future run({required bool isProd}) async { _logInfo( 'Building extension for ${isProd ? 'prod' : 'dev'}', );