Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8db89cb

Browse files
authoredApr 10, 2023
Merge pull request #584 from chiefmikey/update_nyc_exclude_error
2 parents 55df755 + ed7e204 commit 8db89cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎task.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const nycReportOptions = (function getNycOption() {
3737

3838
if (nycReportOptions.exclude && !Array.isArray(nycReportOptions.exclude)) {
3939
console.error('NYC options: %o', nycReportOptions)
40-
throw new Error('Expected "exclude" to by an array')
40+
throw new Error('Expected "exclude" to be an array')
4141
}
4242

4343
if (nycReportOptions['temp-dir']) {

0 commit comments

Comments
 (0)
Please sign in to comment.