Skip to content

include and IncludeCS should not be treated as require #32

Closed
@b0mbie

Description

@b0mbie

This is how the page for include describes its first argument, fileName:

The name of the script to be executed. The path must be either relative to the current file, or be an absolute path (relative to and excluding the lua/ folder).

This argument is a path, which does not follow the require path format, where dots are separators.
If include is treated like Lua 5.1's dofile, it would be correct in this case.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions