From 689983e906abbc63deca7d69af405e46000a9fb2 Mon Sep 17 00:00:00 2001 From: Ivy Wong <57681886+iwong-isp@users.noreply.github.com> Date: Fri, 23 Jun 2023 14:12:09 -0700 Subject: [PATCH] fix: noun function should always return list --- isp-functions/noun-deps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isp-functions/noun-deps.js b/isp-functions/noun-deps.js index e9b5f2c..9676f6b 100644 --- a/isp-functions/noun-deps.js +++ b/isp-functions/noun-deps.js @@ -72,5 +72,5 @@ module.exports = targetValue => { } } - return errors.length ? errors : null; + return errors; };