scorecard: fix broken build (#8174)

Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2022-08-06 17:48:18 +01:00 committed by GitHub
parent fa363599d9
commit 36bc84494c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -15,5 +15,5 @@
#
################################################################################
mv $SRC/yaml_fuzzer.go $SRC/scorecard/policy
mv $SRC/yaml_fuzzer.go $SRC/scorecard/policy/
compile_go_fuzzer github.com/ossf/scorecard/v4/policy FuzzParseFromYAML fuzz_parse_from_yaml gofuzz

View File

@ -16,6 +16,6 @@
package policy
func FuzzParseFromYAML(data []byte) int {
_, _ = ParseFromYAML(data)
_, _ = parseFromYAML(data)
return 1
}