Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.

Commit 17080b4

Browse files
Fix lint errors
1 parent ac83120 commit 17080b4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

alpaca/alpaca.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ func ConvertFormat(format string) {
5454
}
5555

5656
if !acceptable {
57-
fmt.Println("The given format is not allowed. Please choose one from the following:\n")
57+
fmt.Println("The given format is not allowed. Please choose one from the following:")
58+
fmt.Println()
5859
fmt.Println(strings.Join(FormatList, ", ") + "\n")
5960
os.Exit(0)
6061
}

alpaca/error.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import (
77

88
func HandleError(e error) {
99
if e != nil {
10-
fmt.Println("Encountered an error while running!\n")
10+
fmt.Println("Encountered an error while running!")
11+
fmt.Println()
1112
fmt.Println(e)
1213
fmt.Println("\nIf you are unable to solve it, please report at")
1314
fmt.Println("https://github.com/pksunkara/alpaca/issues")

0 commit comments

Comments
 (0)