mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
chore: address codeql warnings (#201776)
This commit is contained in:
@@ -34,6 +34,7 @@ function getElectronVersion() {
|
||||
return { electronVersion, msBuildId };
|
||||
}
|
||||
function getSha(filename) {
|
||||
// CodeQL [SM04514] Hash logic cannot be changed due to external dependency, also the code is only used during build.
|
||||
const hash = (0, crypto_1.createHash)('sha1');
|
||||
// Read file 1 MB at a time
|
||||
const fd = fs.openSync(filename, 'r');
|
||||
|
||||
Reference in New Issue
Block a user