Mark exec.Command with nosec

This commit is contained in:
Johanan Liebermann
2018-05-23 22:55:11 +02:00
parent b8998fc35c
commit e80120ebf4

View File

@@ -137,7 +137,7 @@ func downloadAndUnzip(url string, path string, target string) error {
// Executes a command, waits for it to finish and returns any errors.
func executeCmd(cmd string, args []string) error {
command := exec.Command(cmd, args...)
command := exec.Command(cmd, args...) // #nosec
return command.Run()
}