fix(cd): use correct var

dev
sammyette 2021-10-21 20:55:54 -04:00
parent c12fd1a8b4
commit 80acd0857d
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func freaddir(L *lua.LState) int {
dirEntries, err := os.ReadDir(dir)
if err != nil {
L.RaiseError(err.Error() + ": " + path)
L.RaiseError(err.Error() + ": " + dir)
return 0
}
for _, entry := range dirEntries {