Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supplying --no-target results in error #58

Open
jasonvasquez opened this issue May 11, 2023 · 0 comments · May be fixed by #59
Open

Supplying --no-target results in error #58

jasonvasquez opened this issue May 11, 2023 · 0 comments · May be fixed by #59

Comments

@jasonvasquez
Copy link

When using a command such as the following, an error is generated:
ebnf2railroad --write-style --no-target my-grammar.ebnf

TypeError: targetFilename?.endsWith is not a function
    at Object.run (/src/myproject/node_modules/ebnf2railroad/src/cli.js:118:38)
targetFilename?.endsWith is not a function

use --help for usage information

(line number may be off by a few there, as I've inserted some local debugging info)

I believe I see the issue, I'll open a PR momentarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant