Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
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
Reintroduce the `--input-file` flag for the `upload` command #777
Reintroduce the `--input-file` flag for the `upload` command #777
Changes from all commits
1b249c7
13d0d1b
032038d
5cc9a30
0d2278b
1fb9ccc
bc86692
3df5b6b
de6c443
9afd7ee
c48c1cc
c609e12
bf43865
0c30b9e
f2c4839
4181de4
File filter...
Jump to…
rsoraSep 7, 2020
Author
Contributor
Since we have this check here at lower level https://github.com/arduino/arduino-cli/pull/777/files#diff-2cb7c2b612feb221e1a0e4c63af8ba4bR456
Is this function redundant?
cmaglieSep 7, 2020
Member
The error message from the lower level is:
Error: retrieving build artifacts: importFile and importDir cannot be used together
that is ok-ish but the message in the preprun function is:
error: --input-file and --input-dir flags cannot be used together
that is much more clear in the command line context, so I will keep it even if redundant.