Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit 6bd5cdc

Browse files
committed
update to new go-update library
1 parent b7f3c2b commit 6bd5cdc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ios_symbol_uploader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (i *iosSymbolUploader) symbolConversionTool(baseDir string,
182182
resp, err = http.Get(osxSymbolConverterDownloadURL)
183183
if err == nil {
184184
defer resp.Body.Close()
185-
err = update.Apply(resp.Body, &update.Options{TargetPath: toolPath})
185+
err = update.Apply(resp.Body, update.Options{TargetPath: toolPath})
186186
}
187187
}
188188
} else {

update_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (u *updateCmd) updateCLI(e *env) (bool, error) {
7878
return false, stackerr.Newf("Update failed with error: %v", err)
7979
}
8080
defer resp.Body.Close()
81-
err = update.Apply(resp.Body, &update.Options{TargetPath: exec})
81+
err = update.Apply(resp.Body, update.Options{TargetPath: exec})
8282
if err != nil {
8383
return false, stackerr.Newf("Update failed with error: %v", err)
8484
}

0 commit comments

Comments
 (0)