Skip to content

Commit

Permalink
fix: revert change of file location (#8627)
Browse files Browse the repository at this point in the history
  • Loading branch information
CompuIves authored Oct 1, 2024
1 parent 6d90fb8 commit 77e202f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class FileFetcher implements FetchProtocol {
private async getUrlFromFileProtocol(version: string) {
const tarLocation = normalizePath(version.replace(/^file:/, ''));

const module = this.manager.transpiledModules[tarLocation];
const module = this.manager.transpiledModules['/' + tarLocation];

if (!module) {
throw new Error(`Could not find ${version} while resolving dependency`);
Expand Down

0 comments on commit 77e202f

Please sign in to comment.