Always require --local-engine-host if --local-engine (#133003)
Closes #132245.
This commit is contained in:
@@ -308,12 +308,10 @@ class UserMessages {
|
||||
"you have compiled the engine in that directory, which should produce an 'out' directory";
|
||||
String get runnerLocalEngineOrWebSdkRequired =>
|
||||
'You must specify --local-engine or --local-web-sdk if you are using a locally built engine or web sdk.';
|
||||
// TODO(matanlurey): Make this an error, https://github.com/flutter/flutter/issues/132245.
|
||||
String runnerLocalEngineRequiresHostEngine({bool warning = false}) =>
|
||||
'${warning ? 'Warning! ' : ''}You are using a locally built engine (--local-engine) but have not specified --local-engine-host.\n'
|
||||
String get runnerLocalEngineRequiresHostEngine =>
|
||||
'You are using a locally built engine (--local-engine) but have not specified --local-engine-host.\n'
|
||||
'You may be building with a different engine than the one you are running with. '
|
||||
'See https://github.com/flutter/flutter/issues/132245 for details (in the future this will become '
|
||||
'an error).';
|
||||
'See https://github.com/flutter/flutter/issues/132245 for details.';
|
||||
String runnerNoEngineBuild(String engineBuildPath) =>
|
||||
'No Flutter engine build found at $engineBuildPath.';
|
||||
String runnerNoWebSdk(String webSdkPath) =>
|
||||
|
||||
Reference in New Issue
Block a user