Merge pull request #174731 from 06kellyjac/kubescape

kubescape: fix darwin
This commit is contained in:
Mario Rodas
2022-05-26 18:51:52 -05:00
committed by GitHub
+2 -2
View File
@@ -45,9 +45,9 @@ buildGoModule rec {
--replace "TestScanRepository" "SkipScanRepository" \
--replace "TestGit" "SkipGit"
# without networking the branch context can't be fetched and is empty
# remove test that requires networking
substituteInPlace core/cautils/scaninfo_test.go \
--replace 'assert.Equal(t, "master", ctx.RepoContextMetadata.Branch)' 'assert.Equal(t, "", ctx.RepoContextMetadata.Branch)'
--replace "TestSetContextMetadata" "SkipSetContextMetadata"
'';
postInstall = ''