Skip to content

Commit

Permalink
Restore original value of the Dart advisory script URI (flutter#24973)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jason-simmons authored Mar 12, 2021
1 parent 9061ea5 commit 558ad12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 558ad12

Please sign in to comment.