1
0
forked from ALHP/ALHP.GO

sort failed pkg-lists

This commit is contained in:
2021-06-30 15:05:15 +02:00
parent c4f370ef37
commit 5e944b479e

View File

@@ -17,6 +17,7 @@ import (
"os/signal" "os/signal"
"path/filepath" "path/filepath"
"regexp" "regexp"
"sort"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"
@@ -477,6 +478,7 @@ func isPkgFailed(pkg *BuildPackage) bool {
} }
check(scanner.Err()) check(scanner.Err())
sort.Strings(newContent)
_, err = file.Seek(0, 0) _, err = file.Seek(0, 0)
check(err) check(err)