-
-
Save kaustavha/18913287a17c19de25fe to your computer and use it in GitHub Desktop.
err
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local walk = require('luvit-walk').readdirRecursive | |
local prompt = require("prompt")(require("pretty-print")) | |
local function getDir() | |
return prompt("Dir?", "Dir") | |
end | |
getDir() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kaustavs-MacBook-Pro:deps kaustavhaldar$ Kaustavs-MacBook-Pro:luvit-todo kaustavhaldar$ Dir?: (Dir) Uncaught exception: | |
[string "/Users/kaustavhaldar/Dev/derp/luvit-todo/deps..."]:32: attempt to yield across C-call boundary | |
stack traceback: | |
[C]: in function 'yield' | |
[string "/Users/kaustavhaldar/Dev/derp/luvit-todo/deps..."]:32: in function 'getDir' | |
[string "/Users/kaustavhaldar/Dev/derp/luvit-todo/main..."]:8: in function 'fn' | |
[string "bundle:deps/require.lua"]:291: in function 'require' | |
[string "bundle:main.lua"]:115: in function 'main' | |
[string "bundle:init.lua"]:49: in function <[string "bundle:init.lua"]:47> | |
[C]: in function 'xpcall' | |
[string "bundle:init.lua"]:47: in function 'fn' | |
[string "bundle:deps/require.lua"]:291: in function <[string "bundle:deps/require.lua"]:256> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment