Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
fix error message + build path
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrostami committed Apr 10, 2020
1 parent f3e05c6 commit 9f18c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ before:

builds:
-
main: ./cmd/gcron/main.go
main: ./cmd/gcron/

# - env:
# - CGO_ENABLED=0
Expand Down
2 changes: 1 addition & 1 deletion internal/task/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (task Task) Validate() (bool, error) {
if task.Command != "" {
return true, nil
}
err := errors.Errorf("Command %s is not valie", task.Command)
err := errors.Errorf("Command %s is not valid (see -c option)", task.Command)
return false, err
}

Expand Down

0 comments on commit 9f18c60

Please sign in to comment.