Skip to content

Commit

Permalink
Merge pull request #930 from mesg-foundation/fix/gen-doc-readme
Browse files Browse the repository at this point in the history
Fix/gen doc readme
  • Loading branch information
Nicolas Mahé authored May 10, 2019
2 parents c2aba25 + ee3777d commit ca0991f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions commands/provider/assets/readme_template.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion commands/provider/assets/readme_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bash <(curl -fsSL https://mesg.com/install)
```bash
mesg-core service deploy {{.Repository}}
```
{{else}}Download the source code of this service, and then in the service's folder, run the following command:
{{else}}Download the source code of this service, and then in the service's directory, run the following command:
```bash
mesg-core service deploy
```
Expand Down
2 changes: 1 addition & 1 deletion commands/provider/service_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (p *ServiceProvider) ServiceGenerateDocs(path string) error {
return err
}

f, err := os.OpenFile(readmePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, os.ModePerm)
f, err := os.OpenFile(readmePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644)
if err != nil {
return err
}
Expand Down

0 comments on commit ca0991f

Please sign in to comment.