Skip to content

Commit

Permalink
Make generated mock file non-executable
Browse files Browse the repository at this point in the history
  • Loading branch information
djui authored Dec 25, 2017
1 parent c80e9a7 commit 1b1675c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 1b1675c

Please sign in to comment.