dereference pointer before printing it
[finishes #89575278] Signed-off-by: Chris Brown <cbrown@pivotal.io>
This commit is contained in:
@@ -68,7 +68,7 @@ func (c *OutCommand) Run(sourceDir string, request OutRequest) (OutResponse, err
|
||||
existingRelease.Body = github.String(body)
|
||||
|
||||
for _, asset := range existingRelease.Assets {
|
||||
fmt.Fprintf(c.writer, "clearing existing asset: %s\n", asset.Name)
|
||||
fmt.Fprintf(c.writer, "clearing existing asset: %s\n", *asset.Name)
|
||||
|
||||
err := c.github.DeleteReleaseAsset(asset)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user