Make generated mock file non-executable

This commit is contained in:
Uwe Dauernheim 2017-12-25 14:03:29 +01:00 committed by GitHub
parent c80e9a745b
commit 1b1675c967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,6 @@ func main() {
} }
// create the file // create the file
if len(*outFile) > 0 { if len(*outFile) > 0 {
err = ioutil.WriteFile(*outFile, buf.Bytes(), 0777) err = ioutil.WriteFile(*outFile, buf.Bytes(), 0644)
} }
} }