Compare commits

..

2 Commits

Author SHA1 Message Date
sammyette cd06c61195
chore: bump version 2021-06-11 23:59:00 -04:00
sammyette f594d48790
fix: print error in interval func instead of panic 2021-06-11 23:54:18 -04:00
2 changed files with 3 additions and 2 deletions

3
lua.go
View File

@ -170,7 +170,8 @@ func hshinterval(L *lua.LState) int {
NRet: 0,
Protect: true,
}); err != nil {
panic(err)
fmt.Fprintln(os.Stderr,
"Error in interval function:\n\n", err)
}
case <-stop:
ticker.Stop()

View File

@ -2,7 +2,7 @@ package main
// String vars that are free to be changed at compile time
var (
version = "v0.4.0"
version = "v0.5.0"
requirePaths = `';./libs/?/init.lua;./?/init.lua;./?/?.lua'
.. ';/usr/share/hilbish/libs/?/init.lua;'
.. ';/usr/share/hilbish/libs/?/?.lua;'