[macOS] graphql create doesn't work properly for folder names composed of numbers
nakhodkin opened this issue · comments
CLI command $ graphql create 777
results in an error directory.match is not a function
but if I try to append a slash to the folder name like e.g.$ graphql create 999/
it works properly.
trivial
In a case when command eventually executes, I'm prompted with a dialog with a bunch of options to choose from and I hit Ctrl+C
to terminate the process, but empty folder is created anyway.
Versions (please complete the following information):
- OS:
macOS Mojave Version 10.14.2
- Version of
graphql-cli
:3.0.4
- Shell:
Oh My ZSH!
We have just released a new structure for GraphQL CLI in a new alpha versions track - 4.0.0-alpha.XXX
!
We suggest to use the init
command of GraphQL CLI which was completely rewritten!
Checkout the new instructions and the migration guide on the docs and let us know your feedback.
Feel free to contact us by opening an issue or using our Discord channel;
https://discord.gg/xud7bH
I've posted the wrong Discord link, this is the correct one: https://discord.gg/xud7bH9