You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute hexo init 0x400, It will create a project named 1024 instead of 0x400. Always appears this issue when the target project is a Hexadecimal or Octal number. More instances,
Is this a BUG REPORT or FEATURE REQUEST?
Maybe It's a bug.
What version you use:
What happened:
When I execute
![bug-hexo-init-0x400](https://user-images.githubusercontent.com/23089063/82424586-fa76be00-9ab7-11ea-8881-514d32f59fab.png)
hexo init 0x400
, It will create a project named1024
instead of0x400
. Always appears this issue when the target project is a Hexadecimal or Octal number. More instances,What you expected to happen:
When I execute
hexo init 0x400
, I expect to initialize the project into the0x400
folder.How to reproduce it (as minimally and precisely as possible):
hexo init 0x400
Anything else we need to know?:
It seems this issue introduces by minimist. It aways parses as a number with leading
0x
.The text was updated successfully, but these errors were encountered: