Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
e4d4651d
Unverified
Commit
e4d4651d
authored
May 28, 2020
by
Henrique
Committed by
GitHub
May 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return non-zero exit code if library install fails due to dependency resolution (#728)
parent
a7308748
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cli/lib/install.go
cli/lib/install.go
+1
-0
No files found.
cli/lib/install.go
View file @
e4d4651d
...
...
@@ -72,6 +72,7 @@ func runInstallCommand(cmd *cobra.Command, args []string) {
})
if
err
!=
nil
{
feedback
.
Errorf
(
"Error resolving dependencies for %s: %s"
,
libRef
,
err
)
os
.
Exit
(
errorcodes
.
ErrGeneric
)
}
for
_
,
dep
:=
range
depsResp
.
GetDependencies
()
{
feedback
.
Printf
(
"%s depends on %s@%s"
,
libRef
,
dep
.
GetName
(),
dep
.
GetVersionRequired
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment