mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
scripts/version.sh: downgrade version
use go 1.24 and remove usage of wg.Go().
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
module github.com/hrfee/jfa-go/scripts/variants
|
||||
|
||||
go 1.25.4
|
||||
go 1.24.0
|
||||
|
||||
@@ -94,11 +94,13 @@ func ParseDirParallel(in, out string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
wg.Go(func() {
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
if err := ParseFile(path, outFile, &perm); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
})
|
||||
wg.Done()
|
||||
}()
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user