Fix the type of the default project root path (#7422)

This commit is contained in:
Jason Simmons 2017-01-10 12:08:33 -08:00 committed by GitHub
parent b9f49a40f7
commit 90d18fa808

View File

@ -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)