Skip to content

Commit

Permalink
Deprecate sdmGoal on GoalInvocation
Browse files Browse the repository at this point in the history
[changelog:deprecated]
  • Loading branch information
cdupuis committed Dec 13, 2018
1 parent 00edfdb commit dbb25d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/api-helper/testsupport/fakeGoalInvocation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export function fakeGoalInvocation(id: RemoteRepoRef, options?: SoftwareDelivery
},
progressLog: new LoggingProgressLog("fake"),
sdmGoal: fakeSdmGoal(id),
goalEvent: fakeSdmGoal(id),
goal: fakeGoal("fake goal"),
configuration: {
sdm: {
Expand Down
6 changes: 6 additions & 0 deletions lib/api/goal/GoalInvocation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,15 @@ export interface GoalInvocation extends RepoContext {

/**
* The goal event that triggered this execution
* @deprecated use goalEvent
*/
sdmGoal: SdmGoalEvent;

/**
* The goal event that triggered this execution
*/
goalEvent: SdmGoalEvent;

/**
* Progress log to write output to
*
Expand Down

0 comments on commit dbb25d2

Please sign in to comment.