Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
fix: get file hash without query
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Feb 23, 2020
1 parent cc8318c commit d81850f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/deno_cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class CacheModule implements DenoCacheModule {
return;
}

const hash = manifest.getHashFromUrlPath(url.pathname);
const hash = manifest.getHashFromUrlPath(url.pathname + url.search);

if (!hash) {
return;
Expand Down
2 changes: 1 addition & 1 deletion core/module_resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class ModuleResolver {
return;
}

const hash = manifest.getHashFromUrlPath(url.pathname);
const hash = manifest.getHashFromUrlPath(url.pathname + url.search);

if (!hash) {
return;
Expand Down

0 comments on commit d81850f

Please sign in to comment.