From 558ad1237e274a8fd40ee63920fcc8732ccd7bc2 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Fri, 12 Mar 2021 10:05:10 -0800 Subject: [PATCH] Restore original value of the Dart advisory script URI (#24973) Some flutter_tester scripts rely on the old value because Dart will convert "main.dart" into a Platform.script URI containing a fully qualified path to the script. --- common/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/settings.h b/common/settings.h index 4a914d89fab5a..5dcef45a17ddb 100644 --- a/common/settings.h +++ b/common/settings.h @@ -118,7 +118,7 @@ struct Settings { // Used as the script URI in debug messages. Does not affect how the Dart code // is executed. - std::string advisory_script_uri = "file:///main.dart"; + std::string advisory_script_uri = "main.dart"; // Used as the script entrypoint in debug messages. Does not affect how the // Dart code is executed. std::string advisory_script_entrypoint = "main";