Skip to content

arc should not pickup the files outside of the project #42

@alshari86

Description

@alshari86

I have a nodeJS application failed to launch because of an error happened when parse the flags in "arc-flag-parser/index.js"
/node_modules/arc-flag-parser/index.js:595 throw peg$buildStructuredError( ^ peg$SyntaxError: Expected "+", ",", [a-z_\-A-Z0-9], or end of input but " " found.

During debugging, it shows the "input" as one file name rather than "desktop", or "mobile" when launch the app.

  • The file is outside of this project and it has "square brackets" in the name such as [shari] and it will have input as "shari"
  • If remove the square brackets from the file name, then it will have input as "desktop" or "mobile" and app launch successfully.

In a word, it should not pickup any file outside of the project in this case.

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