Commit a742a5dd authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Make `flutter analyze` run on Windows (#7828)

parent e366c969
......@@ -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);
}
});
}
......
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