Skip to content

Commit

Permalink
return false when no hash is specified (#7300)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleangela authored Apr 6, 2021
1 parent a07827e commit 7fa6d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension/src/packageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function isValidPackage(buffer: Buffer, integrity: string): boolean {
return (value === integrity.toUpperCase());
}
// No integrity has been specified
return true;
return false;
}

export interface IPackage {
Expand Down

0 comments on commit 7fa6d48

Please sign in to comment.