diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index 235d0c322..3f419ec28 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -65449,8 +65449,8 @@ const supportedPackageManager = [ path_1.join(os_1.default.homedir(), '.ivy2', 'cache'), path_1.join(os_1.default.homedir(), '.sbt'), getCoursierCachePath(), - //TODO: comment the reason of exclusions '!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'), + // Avoid SNAPSHOT resolution problems by forcing the deletion of these files (due to ideological gaps in maven/ivy). '!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties') ], pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}'] diff --git a/dist/setup/index.js b/dist/setup/index.js index 0703230d5..2bfd7910f 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -100654,8 +100654,8 @@ const supportedPackageManager = [ path_1.join(os_1.default.homedir(), '.ivy2', 'cache'), path_1.join(os_1.default.homedir(), '.sbt'), getCoursierCachePath(), - //TODO: comment the reason of exclusions '!' + path_1.join(os_1.default.homedir(), '.sbt', '*.lock'), + // Avoid SNAPSHOT resolution problems by forcing the deletion of these files (due to ideological gaps in maven/ivy). '!' + path_1.join(os_1.default.homedir(), '**', 'ivydata-*.properties') ], pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}'] diff --git a/src/cache.ts b/src/cache.ts index e73d078e8..f5a941536 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -39,8 +39,8 @@ const supportedPackageManager: PackageManager[] = [ join(os.homedir(), '.ivy2', 'cache'), join(os.homedir(), '.sbt'), getCoursierCachePath(), - //TODO: comment the reason of exclusions '!' + join(os.homedir(), '.sbt', '*.lock'), + // Avoid SNAPSHOT resolution problems by forcing the deletion of these files (due to ideological gaps in maven/ivy). '!' + join(os.homedir(), '**', 'ivydata-*.properties') ], pattern: ['**/*.sbt', '**/project/build.properties', '**/project/**.{scala,sbt}']