File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 104
104
<span class ="text-grey" >Prompt:</span >{' ' +
105
105
(action .externalPrompt ?? action .externalSummary )}
106
106
</p >
107
- {#if ! isStringActionSource (action .source ) && action .response !== undefined }
107
+ {#if ! isStringActionSource (action .source ) && !! action .response }
108
108
{@const newCommits = allCommitsUpdated (action .response )}
109
109
<FeedActionDiff {projectId } {newCommits } />
110
110
{/if }
Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ export class ButlerAction {
77
77
/** A GitBulter Oplog snapshot ID after the action was performed. */
78
78
snapshotAfter ! : string ;
79
79
/** The outcome of the action, if it was successful. */
80
- response ? : Outcome ;
80
+ response ! : Outcome | null ;
81
81
/** An error message if the action failed. */
82
- error ? : string ;
82
+ error ! : string | null ;
83
83
/** The source of the action, if known. */
84
84
source ! : ActionSource ;
85
85
}
You can’t perform that action at this time.
0 commit comments