We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80527b7 commit 69acee2Copy full SHA for 69acee2
1 file changed
src/utils/ncc-cache-dir.js
@@ -3,6 +3,6 @@ const os = require("os");
3
const path = require("path");
4
5
const cacheBase = process.env.XDG_CACHE_HOME || path.join(os.homedir(), ".cache");
6
-const projectKey = crypto.createHash("sha256").update(process.cwd()).digest("hex").slice(0, 12);
+const projectKey = crypto.hash("sha1", process.cwd());
7
8
module.exports = path.join(cacheBase, "ncc", projectKey);
0 commit comments