Skip to content

Commit

Permalink
chore: ignore fake warns
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed Apr 8, 2024
1 parent 780cf75 commit 0c56816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ func handleHook(h *hook.Hook, r *hook.Request, w http.ResponseWriter) (string, e
}

// try to make the command executable
// #nosec
err = os.Chmod(cmdPath, 0755)
if err != nil {
log.Printf("[%s] make command script executable error in %s", r.ID, err)
Expand Down

0 comments on commit 0c56816

Please sign in to comment.