Skip to content

Commit

Permalink
fix: add missing new lines to end of error messages (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Apr 10, 2022
1 parent f59f2ae commit 641b817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func findLockfiles(r *reporter.Reporter, pathToLockOrDirectory string, parseAs s
}

if err != nil {
r.PrintError(fmt.Sprintf("Error reading %s: %v", pathToLockOrDirectory, err))
r.PrintError(fmt.Sprintf("Error reading %s: %v\n", pathToLockOrDirectory, err))
}

return lockfiles
Expand Down Expand Up @@ -196,7 +196,7 @@ func run() int {

if len(pathsToLocks) == 0 {
r.PrintError(
"You must provide at least one path to either a lockfile or a directory containing a lockfile (see --help for usage and flags)",
"You must provide at least one path to either a lockfile or a directory containing a lockfile (see --help for usage and flags)\n",
)

return 1
Expand Down

0 comments on commit 641b817

Please sign in to comment.