-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix undefined steps for partial workflow (#5)
Fix type error for `Error: Cannot read properties of undefined (reading 'status')`. I believe it's from the `steps[key].status == Status.Failed` if the value is in the object but undefined. Removed the class for an object that is allowed to be partial and added more `?.` guards for field access.
- Loading branch information
1 parent
65b95de
commit fc0b591
Showing
3 changed files
with
31 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters