mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
codeql exemption (#201780)
* codeql exemption * add missing compilation
This commit is contained in:
parent
0dc196fc51
commit
91e69a3383
|
@ -506,7 +506,7 @@ async function processArtifact(artifact, artifactFilePath) {
|
|||
const type = getRealType(unprocessedType);
|
||||
const size = fs.statSync(artifactFilePath).size;
|
||||
const stream = fs.createReadStream(artifactFilePath);
|
||||
const [sha1hash, sha256hash] = await Promise.all([hashStream('sha1', stream), hashStream('sha256', stream)]);
|
||||
const [sha1hash, sha256hash] = await Promise.all([hashStream('sha1', stream), hashStream('sha256', stream)]); // CodeQL [SM04514] Using SHA1 only for legacy reasons, we are actually only respecting SHA256
|
||||
const [assetUrl, prssUrl] = await Promise.all([
|
||||
uploadAssetLegacy(log, quality, commit, artifactFilePath),
|
||||
releaseAndProvision(log, e('RELEASE_TENANT_ID'), e('RELEASE_CLIENT_ID'), e('RELEASE_AUTH_CERT_SUBJECT_NAME'), e('RELEASE_REQUEST_SIGNING_CERT_SUBJECT_NAME'), e('PROVISION_TENANT_ID'), e('PROVISION_AAD_USERNAME'), e('PROVISION_AAD_PASSWORD'), commit, quality, artifactFilePath)
|
||||
|
|
|
@ -673,7 +673,7 @@ async function processArtifact(artifact: Artifact, artifactFilePath: string): Pr
|
|||
const type = getRealType(unprocessedType);
|
||||
const size = fs.statSync(artifactFilePath).size;
|
||||
const stream = fs.createReadStream(artifactFilePath);
|
||||
const [sha1hash, sha256hash] = await Promise.all([hashStream('sha1', stream), hashStream('sha256', stream)]);
|
||||
const [sha1hash, sha256hash] = await Promise.all([hashStream('sha1', stream), hashStream('sha256', stream)]); // CodeQL [SM04514] Using SHA1 only for legacy reasons, we are actually only respecting SHA256
|
||||
|
||||
const [assetUrl, prssUrl] = await Promise.all([
|
||||
uploadAssetLegacy(log, quality, commit, artifactFilePath),
|
||||
|
|
Loading…
Reference in a new issue