forked from firka/flutter
[flutter_tool] Fix fuchsia_reload command for new .packages location (#12825)
This commit is contained in:
committed by
P.Y. Laligand
parent
9ae893bd45
commit
f993cc36dd
@@ -329,7 +329,7 @@ class FuchsiaReloadCommand extends FlutterCommand {
|
||||
throwToolExit('Couldn\'t find application entry point at $_target.');
|
||||
|
||||
final String packagesFileName = '${_projectName}_dart_package.packages';
|
||||
_dotPackagesPath = '$_fuchsiaRoot/out/$_buildType/gen/$_projectRoot/$packagesFileName';
|
||||
_dotPackagesPath = '$_fuchsiaRoot/out/$_buildType/dartlang/gen/$_projectRoot/$packagesFileName';
|
||||
if (!_fileExists(_dotPackagesPath))
|
||||
throwToolExit('Couldn\'t find .packages file at $_dotPackagesPath.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user