Skip to content

Commit

Permalink
Expand Env Vars in context (#146) (#202)
Browse files Browse the repository at this point in the history
Expand Env Vars in context

Co-authored-by: Rickard Löfström <[email protected]>
  • Loading branch information
mattburgess and rickardl authored Oct 21, 2020
1 parent 60e7a0c commit 99cb3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion out.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func Put(request PutRequest, manager Github, inputDir string) (*PutResponse, err
description = string(content)
}

if err := manager.UpdateCommitStatus(version.Commit, p.BaseContext, p.Context, p.Status, safeExpandEnv(p.TargetURL), description); err != nil {
if err := manager.UpdateCommitStatus(version.Commit, p.BaseContext, safeExpandEnv(p.Context), p.Status, safeExpandEnv(p.TargetURL), description); err != nil {
return nil, fmt.Errorf("failed to set status: %s", err)
}
}
Expand Down

0 comments on commit 99cb3ee

Please sign in to comment.