Skip to content

Commit 6c38a32

Browse files
committed
move and ignore fuzzers in codacy
1 parent 7ccc21f commit 6c38a32

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.clusterfuzzlite/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/binsh
22

3-
compile_go_fuzzer github.com/containrrr/shoutrrr/pkg/util/fuzz FuzzPartitionMessage fuzz_partition_message
3+
compile_go_fuzzer github.com/containrrr/shoutrrr/fuzz FuzzPartitionMessage fuzz_partition_message

.codacy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
exclude_paths:
3+
- "fuzz"

pkg/util/fuzz/fuzz.go fuzz/partition_message.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//go:build gofuzz || cgo
2-
// +build gofuzz cgo
3-
// Note that the `cgo` above is a hack to prevent the file from being built in releases, but still
4-
// included when checking for doc comments (lint)
1+
//go:build gofuzz
2+
// +build gofuzz
53

64
package fuzz
75

0 commit comments

Comments
 (0)