Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
07c592d9
Unverified
Commit
07c592d9
authored
6 years ago
by
Alexander Aprelev
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Report early error if appropriate host local engine is not found. (#26766)
parent
5d0c1b86
stable
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
flutter_command_runner.dart
.../flutter_tools/lib/src/runner/flutter_command_runner.dart
+3
-0
No files found.
packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
View file @
07c592d9
...
...
@@ -457,6 +457,9 @@ class FlutterCommandRunner extends CommandRunner<void> {
final
String
basename
=
fs
.
path
.
basename
(
engineBuildPath
);
final
String
hostBasename
=
'host_'
+
basename
.
replaceFirst
(
'_sim_'
,
'_'
).
substring
(
basename
.
indexOf
(
'_'
)
+
1
);
final
String
engineHostBuildPath
=
fs
.
path
.
normalize
(
fs
.
path
.
join
(
fs
.
path
.
dirname
(
engineBuildPath
),
hostBasename
));
if
(!
fs
.
isDirectorySync
(
engineHostBuildPath
))
{
throwToolExit
(
userMessages
.
runnerNoEngineBuild
(
engineHostBuildPath
),
exitCode:
2
);
}
return
EngineBuildPaths
(
targetEngine:
engineBuildPath
,
hostEngine:
engineHostBuildPath
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment