Merge pull request #174731 from 06kellyjac/kubescape
kubescape: fix darwin
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user