Skip to content

Commit

Permalink
Merge pull request #34 from istreamlabs/noun-return-errors-array
Browse files Browse the repository at this point in the history
fix: noun function should always return list
  • Loading branch information
iwong-isp committed Jun 26, 2023
2 parents e351dab + 689983e commit a0350a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isp-functions/noun-deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ module.exports = targetValue => {
}
}

return errors.length ? errors : null;
return errors;
};

0 comments on commit a0350a2

Please sign in to comment.