fix newline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-12-02 08:51:45 +11:00
parent 328588c2ed
commit 7787b335d6

View File

@@ -328,14 +328,14 @@ func main() {
// Load the JSON data from file // Load the JSON data from file
file, err := os.Open(*inputFile) file, err := os.Open(*inputFile)
if err != nil { if err != nil {
fmt.Printf("Failed to open input.json: %v", err) fmt.Printf("Failed to open input.json: %v\n", err)
os.Exit(1) os.Exit(1)
} }
defer file.Close() defer file.Close()
byteValue, err := io.ReadAll(file) byteValue, err := io.ReadAll(file)
if err != nil { if err != nil {
fmt.Printf("Failed to read input json: %v", err) fmt.Printf("Failed to read input json: %v\n", err)
os.Exit(1) os.Exit(1)
} }