Skip to content

Commit

Permalink
[Security solution][Endpoint] Removes 'none' compression as it not us…
Browse files Browse the repository at this point in the history
…ed anymore (#102767)

* Removes 'none' compression as it not used anymore

* Revert type because none type is needed for the first time the artifact is created befor the compression
  • Loading branch information
dasansol92 authored Jun 22, 2021
1 parent 7df924f commit 1ea3506
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ export class ManifestManager {
for (const result of results) {
await iterateArtifactsBuildResult(result, async (artifact, policyId) => {
const artifactToAdd = baselineManifest.getArtifact(getArtifactId(artifact)) || artifact;
artifactToAdd.compressionAlgorithm = 'none';
if (!internalArtifactCompleteSchema.is(artifactToAdd)) {
throw new Error(`Incomplete artifact detected: ${getArtifactId(artifactToAdd)}`);
}
Expand Down

0 comments on commit 1ea3506

Please sign in to comment.