We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9087f4e commit 9ae2871Copy full SHA for 9ae2871
lib/src/command/cache_gc.dart
@@ -62,7 +62,9 @@ class CacheGcCommand extends PubCommand {
62
continue;
63
}
64
for (final package in packageConfig.packages) {
65
- final rootUri = package.resolvedRootDir(packageConfigPath);
+ final rootUri = p.canonicalize(
66
+ package.resolvedRootDir(packageConfigPath),
67
+ );
68
if (p.isWithin(cache.rootDir, rootUri)) {
69
paths.add(rootUri);
70
0 commit comments