Skip to content

Lua inspect seems not to search in current working directory #3

Description

@sdressler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions