Commit 90d18fa8 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

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

parent b9f49a40
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment