Skip to content

Commit 59d93ae

Browse files
committed
Fix colon character in cwd on Windows
1 parent e97d335 commit 59d93ae

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/gather/cache.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ const getRepoInfo = require('git-repo-info');
33

44
const gitInfo = getRepoInfo();
55

6-
const cachePath = `ember-codemods-telemetry-helpers-${gitInfo.sha}-${process.cwd()}`;
6+
const cwd = process.cwd().replace(':', '꞉');
7+
8+
const cachePath = `ember-codemods-telemetry-helpers-${gitInfo.sha}-${cwd}`;
9+
710
const cache = new Cache(cachePath);
811

912
module.exports = cache;

0 commit comments

Comments
 (0)