Skip to content

Commit 641b817

Browse files
authored
fix: add missing new lines to end of error messages (#82)
1 parent f59f2ae commit 641b817

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func findLockfiles(r *reporter.Reporter, pathToLockOrDirectory string, parseAs s
138138
}
139139

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

144144
return lockfiles
@@ -196,7 +196,7 @@ func run() int {
196196

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

202202
return 1

0 commit comments

Comments
 (0)