From f2873b6215bc232ee400ed459e3cf7e0cb90e71d Mon Sep 17 00:00:00 2001 From: Mikl Wolfe Date: Sun, 24 Jul 2022 22:24:30 -0600 Subject: [PATCH] Update nyc options "exclude" error message --- task.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task.js b/task.js index c2f10321..fc505155 100644 --- a/task.js +++ b/task.js @@ -37,7 +37,7 @@ const nycReportOptions = (function getNycOption() { if (nycReportOptions.exclude && !Array.isArray(nycReportOptions.exclude)) { console.error('NYC options: %o', nycReportOptions) - throw new Error('Expected "exclude" to by an array') + throw new Error('Expected "exclude" to be an array') } if (nycReportOptions['temp-dir']) {