fix(FlowSubstep): count 0 as value towards required check
This commit is contained in:
@@ -36,7 +36,7 @@ const validateSubstep = (substep: ISubstep, step: IStep) => {
|
||||
// `false` is an exceptional valid value
|
||||
if (argValue === false) return true;
|
||||
|
||||
return Boolean(argValue);
|
||||
return argValue !== undefined && argValue !== null;
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user