fix: goss.yaml

This commit is contained in:
Denis Gukov 2021-08-26 14:39:31 +05:00
parent d27c89790b
commit d34478499f
2 changed files with 2 additions and 3 deletions

View File

@ -38,6 +38,5 @@ command:
semaphore:
exit-status: 1
stdout:
- Cannot Find configuration! Use --config parameter to point to a JSON file generated by setup.
- 'Hint: have you run `semaphore setup`?'
- Cannot Find configuration! Use --config parameter to point to a JSON file generated by `semaphore setup`.
timeout: 10000

View File

@ -178,7 +178,7 @@ func validatePort() {
func exitOnConfigError(err error) {
if err != nil {
fmt.Println("Cannot Find configuration! Use --config parameter to point to a JSON file generated by setup.\n\nHint: have you run `semaphore setup`?")
fmt.Println("Cannot Find configuration! Use --config parameter to point to a JSON file generated by `semaphore setup`.")
os.Exit(1)
}
}