Skip to content

Commit 824b0de

Browse files
author
wintrmvte
committed
Quickfixes cause deployment yells smh about version mismatch
1 parent 3fb0b51 commit 824b0de

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

data_manipulation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@ func BoolCheck(boolean interface{}) bool {
362362
}
363363

364364
// Removes values from generics that do noe pass a truthcheck of f()
365-
func Decimator[T any](s []T, f func(T) bool) []T {
365+
/*func Decimator[T any](s []T, f func(T) bool) []T {
366366
var r []T
367367
for _, v := range s {
368368
if f(v) {
369369
r = append(r, v)
370370
}
371371
}
372372
return r
373-
}
373+
}*/

low.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ func Is64Bit(fname string) bool {
7272
return true
7373
}
7474
return false
75-
} else {
75+
} else if IsEXE(fname) {
7676

77-
}
77+
}
78+
return false
7879
}
7980

8081
func Caves(file string, min_size int) map[string]map[string]int {
@@ -92,4 +93,5 @@ func Caves(file string, min_size int) map[string]map[string]int {
9293
} else {
9394

9495
}
96+
return nil
9597
}

random.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ func RandomString(n int) string {
2828
rand.Seed(time.Now().UnixNano())
2929
var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
3030
b := make([]rune, n)
31-
3231
for i := range b {
3332
b[i] = letters[rand.Intn(len(letters))]
3433
}
35-
3634
return string(b)
3735
}
3836

0 commit comments

Comments
 (0)