Skip to content

Commit

Permalink
consistent syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Nov 8, 2023
1 parent 806630e commit 46a6ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ var validateCmd = &cobra.Command{
}

if _, err := os.Stat(radixconfig); errors.Is(err, os.ErrNotExist) {
return fmt.Errorf("RadixConfig file note found: %s", radixconfig)
return fmt.Errorf("RadixConfig file note found:\n%s", radixconfig)
}

ra, err := utils.GetRadixApplicationFromFile(radixconfig)
if err != nil {
return errors.Wrap(err, "RadixConfig is invalid")
return fmt.Errorf("RadixConfig is invalid:\n%v", err)
}

if printfile {
Expand Down

0 comments on commit 46a6ef1

Please sign in to comment.