Skip to content

Commit 2902ac6

Browse files
committed
Fix return value
Signed-off-by: Dusan Borovcanin <[email protected]>
1 parent 86bc86f commit 2902ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bit/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func Not(l *lua.LState) int {
5656
if err != nil {
5757
l.Push(lua.LNil)
5858
l.Push(lua.LString(err.Error()))
59-
return 1
59+
return 2
6060
}
6161
l.Push(lua.LNumber(^val))
6262
return 1

0 commit comments

Comments
 (0)