File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,6 @@ echo "Building DDC-compiled extension to dev_build/web directory."
3333echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
3434dart run build_runner build web --delete-conflicting-outputs --output dev_build
3535echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
36- " Updating the manifest.json file in dev_build/web directory."
36+ echo " Updating the manifest.json file in dev_build/web directory."
3737echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
3838dart tool/update_dev_manifest.dart
Original file line number Diff line number Diff line change @@ -435,16 +435,12 @@ class TestContext {
435435 throw StateError (
436436 'Expected to be in /dwds directory, instead path was $currentDir .' );
437437 }
438- try {
439- Directory .current = '$currentDir /debug_extension' ;
440- final process = await Process .run (
441- 'tool/build_extension.sh' ,
442- ['prod' ],
443- );
444- print (process.stdout);
445- } finally {
446- Directory .current = currentDir;
447- }
438+ final process = await Process .run (
439+ 'tool/build_extension.sh' ,
440+ ['prod' ],
441+ workingDirectory: '$currentDir /debug_extension' ,
442+ );
443+ print (process.stdout);
448444 }
449445
450446 Future <ChromeTab > _fetchDartDebugExtensionTab (
You can’t perform that action at this time.
0 commit comments