summaryrefslogtreecommitdiff
path: root/sleep.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-12 16:32:08 -0500
committerJeff Carr <[email protected]>2024-10-12 16:32:08 -0500
commit366bcac15c3db2240b04c000bc0892452cce1bce (patch)
treee3d43d539a19dd92d81524865631a2eff91a557a /sleep.go
parent2cf02ee2e5f155205b847805b1bdccb42fcfec00 (diff)
fix go vet warnings
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'sleep.go')
-rw-r--r--sleep.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleep.go b/sleep.go
index 17a6243..40484be 100644
--- a/sleep.go
+++ b/sleep.go
@@ -41,7 +41,7 @@ func Sleep(a ...any) {
exit("dont like apples") # ok. I'll make a note of that
*/
func Exit(a ...any) {
- Error(errors.New("log.Exit()"), a)
+ Error(errors.New("log.Exit()"), a...)
//if (a) {
// os.Exit(a)
//}