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
b7f3dae4
Unverified
Commit
b7f3dae4
authored
Mar 15, 2021
by
Gerald Pape
Committed by
GitHub
Mar 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix download errors not handled during core installation (#1217)
parent
5704138c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
commands/core/install.go
commands/core/install.go
+5
-2
No files found.
commands/core/install.go
View file @
b7f3dae4
...
...
@@ -91,7 +91,10 @@ func installPlatform(pm *packagemanager.PackageManager,
return
err
}
}
downloadPlatform
(
pm
,
platformRelease
,
downloadCB
)
err
:=
downloadPlatform
(
pm
,
platformRelease
,
downloadCB
)
if
err
!=
nil
{
return
err
}
taskCB
(
&
rpc
.
TaskProgress
{
Completed
:
true
})
// Install tools first
...
...
@@ -114,7 +117,7 @@ func installPlatform(pm *packagemanager.PackageManager,
}
// Install
err
:
=
pm
.
InstallPlatform
(
platformRelease
)
err
=
pm
.
InstallPlatform
(
platformRelease
)
if
err
!=
nil
{
log
.
WithError
(
err
)
.
Error
(
"Cannot install platform"
)
return
err
...
...
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