From 5e944b479e59f9c4c83a82ab3110e373bce805c9 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Wed, 30 Jun 2021 15:05:15 +0200 Subject: [PATCH] sort failed pkg-lists --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 7180adf..f9a9d65 100644 --- a/main.go +++ b/main.go @@ -17,6 +17,7 @@ import ( "os/signal" "path/filepath" "regexp" + "sort" "strconv" "strings" "sync" @@ -477,6 +478,7 @@ func isPkgFailed(pkg *BuildPackage) bool { } check(scanner.Err()) + sort.Strings(newContent) _, err = file.Seek(0, 0) check(err)