mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix the type of the default project root path (#7422)
This commit is contained in:
parent
b9f49a40f7
commit
90d18fa808
@ -35,7 +35,7 @@ abstract class ResidentRunner {
|
||||
String projectAssets,
|
||||
}) {
|
||||
_mainPath = findMainDartFile(target);
|
||||
_projectRootPath = projectRootPath ?? fs.currentDirectory;
|
||||
_projectRootPath = projectRootPath ?? fs.currentDirectory.path;
|
||||
_packagesFilePath =
|
||||
packagesFilePath ?? path.absolute(PackageMap.globalPackagesPath);
|
||||
if (projectAssets != null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user