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

View File

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