Skip to content

Commit d5ebb43

Browse files
committed
fix: name -> id
1 parent 19eacff commit d5ebb43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/package/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Workflow {
2121

2222
public addJob(...jobs: Job[]): Workflow {
2323
for (const job of jobs) {
24-
this._jobs[job.name] = job;
24+
this._jobs[job.id] = job;
2525
}
2626
return this;
2727
}

0 commit comments

Comments
 (0)