Containerizing things.
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
0bbdf1af02
commit
557d326340
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5
main.go
5
main.go
|
@ -215,6 +215,11 @@ func filterDiffOutput(diffOutput, cname string, ignores []string) (string, error
|
|||
return "", fmt.Errorf("error writing diff to file: %s", err)
|
||||
}
|
||||
|
||||
if len(ignores) == 0 {
|
||||
log.Println("No ignore patterns provided.")
|
||||
return "", fmt.Errorf("no ignore patterns provided")
|
||||
}
|
||||
|
||||
// Construct the filter command
|
||||
args := append([]string{filename}, ignores...)
|
||||
cmd := exec.Command("/usr/local/bin/oculus_filter", args...)
|
||||
|
|
Loading…
Reference in New Issue