resource/shell/preparer.go
Function checkSyntax
has 8 return statements (exceeds 4 allowed). Open
Open
func checkSyntax(interpreter string, flags []string, script string) error {
if interpreter == "" {
interpreter = defaultInterpreter
if len(flags) > 0 {
return errors.New("custom syntax check_flags given without an interpreter")
TODO found Open
Open
// TODO: add ID in here somehow
- Exclude checks