I have some Lua scripts with relative paths in it:
require "Scripts/Foo/Bar"
class 'BarClass' (FooClass)
...
Usually I cd into the top most directory, e.g. ~/Developer/Foo which contains Scripts as subdirectory, where also Foo/Bar is located. However, when luainspect parses my file, it states, that FooClass is unknown. When I use luainspect from the command line directly it works.
I have some Lua scripts with relative paths in it:
Usually I
cdinto the top most directory, e.g.~/Developer/Foowhich containsScriptsas subdirectory, where alsoFoo/Baris located. However, when luainspect parses my file, it states, thatFooClassis unknown. When I use luainspect from the command line directly it works.