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

Trying to export unknown game gives stack trace #3

Open
perwestling opened this issue Jul 5, 2020 · 0 comments
Open

Trying to export unknown game gives stack trace #3

perwestling opened this issue Jul 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@perwestling
Copy link

After installing latest version, I go to 18xx-maker/games

If I do e.g.
18xx-export-rb game 18SJ
it works fine.

But if I have incorrect name of game, eg
18xx-export-rb games 18sj
I get the text "undefined" followed by
TypeError: Cannot read property 'file' of undefined

I suggest adding a check if game exists, and if not showing some suitable error message.

@kelsin kelsin added the enhancement New feature or request label Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants