Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
(GH-51) Improve prm exec error
Browse files Browse the repository at this point in the history
Added a logging message telling the user to reference the `prm exec help` help
section.
  • Loading branch information
petergmurphy committed Dec 22, 2021
1 parent 55e8b52 commit d3ee0e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/prm/prm.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func (p *Prm) CheckLocalConfig() ([]ToolInst, error) {
validateFile := filepath.Join(p.CodeDir, "validate.yml")
if _, err := p.AFS.Stat(validateFile); err != nil {
log.Error().Msgf("validate.yml not found in %s", p.CodeDir)
log.Info().Msgf("Reference the 'prm help exec' help section for exec command usage.")
return []ToolInst{}, err
}

Expand Down

0 comments on commit d3ee0e7

Please sign in to comment.