Skip to content

Commit

Permalink
fix(typescript): Drive letter casing on win32 platforms. fixes #1133 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lovettchris authored and shellscape committed Apr 13, 2022
1 parent 1c62dc5 commit 8d9dc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typescript/src/tscache.ts
Expand Up @@ -16,7 +16,7 @@ export default class TSCache {

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

/** Emits a file in the cache folder */
Expand Down

0 comments on commit 8d9dc0e

Please sign in to comment.