mirror of https://github.com/google/oss-fuzz.git
scorecard: fix broken build (#8174)
Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
parent
fa363599d9
commit
36bc84494c
|
@ -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
|
compile_go_fuzzer github.com/ossf/scorecard/v4/policy FuzzParseFromYAML fuzz_parse_from_yaml gofuzz
|
||||||
|
|
|
@ -16,6 +16,6 @@
|
||||||
package policy
|
package policy
|
||||||
|
|
||||||
func FuzzParseFromYAML(data []byte) int {
|
func FuzzParseFromYAML(data []byte) int {
|
||||||
_, _ = ParseFromYAML(data)
|
_, _ = parseFromYAML(data)
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue