Make flutter analyze run on Windows (#7828)

This commit is contained in:
Michael Goderbauer
2017-02-02 15:41:13 -08:00
committed by GitHub
parent e366c9691f
commit a742a5ddf6

View File

@@ -111,7 +111,7 @@ class AnalyzeOnce extends AnalyzeBase {
// Analyzer package versions reached via transitive dependencies (e.g., via `test`) are ignored since they would produce
// spurious conflicts.
if (packageName != 'analyzer' || packagePath.startsWith('..'))
dependencies.add(packageName, path.normalize(path.absolute(directory.path, path.fromUri(packagePath))), dotPackagesPath);
dependencies.add(packageName, path.normalize(path.absolute(directory.path, packagePath)), dotPackagesPath);
}
});
}