-
Notifications
You must be signed in to change notification settings - Fork 119
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
Fix option parser: Match any character as option name #1481
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge to 0.25.x
Should we have some unit tests?
@@ -107,7 +107,7 @@ class App extends client.App { | |||
const { project } = this.props; | |||
|
|||
const xodballJSON = XP.toXodball(project); | |||
const xodballName = XP.getProjectName(project); | |||
const xodballName = XP.getProjectName(project) || 'my-project'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will rebase very soon and it will go away :)
b3d9010
to
448845e
Compare
@nkrkv updated test suite and added support for any character for option group name. Check it out, please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure arduino-cli
handles all options for Arduino Pro correctly on every platform? They contain special symbols that going to be a part of the filename.
This affects only human-readable names, so in the FQBN will still contain names without spaces and special chars (RegExp: Just tested upload to be sure I am right and it tries to upload with FQBN: So it should work fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
It fixes #1479