Cannot create a project with fyrox-template that starts with a number
zment4 opened this issue · comments
zment commented
Trying to run fyrox-template init --name 2dtest
results in the following error
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." }'
After a few baffling minutes, I realized the error was because the name started with a number, and for whatever reason, that's a no-go. I quickly patched up the template source to return a clearer error message in case someone else tries to create a new project with a name starting with a number, and doesn't realize why it doesn't work. PR incoming.