Merge pull request #42 from djui/patch-1

Make generated mock file non-executable
This commit is contained in:
Mat Ryer 2018-03-07 09:18:14 +00:00 committed by GitHub
commit a34c2c0732
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)
} }
} }