🌐 AI搜索 & 代理 主页
Skip to content

Commit 8d9dc0e

Browse files
lovettchrisshellscape
authored andcommitted
fix(typescript): Drive letter casing on win32 platforms. fixes #1133 (#1134)
1 parent 1c62dc5 commit 8d9dc0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/typescript/src/tscache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default class TSCache {
1616

1717
/** Returns the path to the cached file */
1818
cachedFilename(fileName: string): string {
19-
return path.join(this._cacheFolder, fileName.replace(/^([A-Z]+):/, '$1'));
19+
return path.join(this._cacheFolder, fileName.replace(/^([a-zA-Z]+):/, '$1'));
2020
}
2121

2222
/** Emits a file in the cache folder */

0 commit comments

Comments
 (0)