From 90d18fa80852955f9bda3887f1de5f9fd43bf3ab Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 10 Jan 2017 12:08:33 -0800 Subject: [PATCH] Fix the type of the default project root path (#7422) --- packages/flutter_tools/lib/src/resident_runner.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/resident_runner.dart b/packages/flutter_tools/lib/src/resident_runner.dart index 3ef8931e5c7..e9e9e69a801 100644 --- a/packages/flutter_tools/lib/src/resident_runner.dart +++ b/packages/flutter_tools/lib/src/resident_runner.dart @@ -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)