Skip to content

Lune/Luau does not like a Lua file that has a shebang at the start #364

@kittywitch

Description

@kittywitch

syntax error: /<irrelevant>/third-party/markdown/markdown:1: Expected identifier when parsing expression, got '#'

Relevant file: https://github.com/mpeterv/markdown/blob/master/markdown.lua
#!/usr/bin/env lua

For Lua(u) libraries intended to run standalone as command-line tools AND to be used as libraries, this can cause problems. It would be ideal if the require system were capable of ignoring that shebang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions