File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/shared/modules/global Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export class ChallengeData {
22
22
}
23
23
24
24
export class WorkflowData {
25
- worflowId : string ;
25
+ workflowId : string ;
26
26
ref : string ;
27
27
params : Record < string , any > ;
28
28
}
Original file line number Diff line number Diff line change @@ -86,13 +86,13 @@ export class GiteaService {
86
86
challengeId : string ,
87
87
) : Promise < void > {
88
88
this . logger . log (
89
- `Running workflow: ${ workflow . worflowId } with ref: ${ workflow . ref } ` ,
89
+ `Running workflow: ${ workflow . workflowId } with ref: ${ workflow . ref } ` ,
90
90
) ;
91
91
try {
92
92
const response = await this . giteaClient . repos . actionsDispatchWorkflow (
93
93
this . giteaOrg ,
94
94
challengeId ,
95
- workflow . worflowId ,
95
+ workflow . workflowId ,
96
96
{
97
97
ref : workflow . ref ,
98
98
inputs : workflow . params ,
@@ -102,7 +102,7 @@ export class GiteaService {
102
102
this . logger . log ( `Workflow dispatched successfully: ${ response . status } ` ) ;
103
103
} catch ( error ) {
104
104
this . logger . error (
105
- `Error dispatching workflow ${ workflow . worflowId } : ${ error . message } ` ,
105
+ `Error dispatching workflow ${ workflow . workflowId } : ${ error . message } ` ,
106
106
) ;
107
107
throw error ;
108
108
}
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export class SubmissionScanCompleteOrchestrator {
54
54
try {
55
55
await this . giteaService . runDispatchWorkflow ( workflow , challenge . id ) ;
56
56
} catch ( error ) {
57
- const errorMessage = `Error processing workflow: ${ workflow . worflowId } . Error: ${ error . message } .` ;
57
+ const errorMessage = `Error processing workflow: ${ workflow . workflowId } . Error: ${ error . message } .` ;
58
58
this . logger . error ( errorMessage , error ) ;
59
59
// don't rethrow error as we want to continue processing other workflows
60
60
allErrors += `${ errorMessage } . ` ;
You can’t perform that action at this time.
0 commit comments