diff options
Diffstat (limited to 'tools/copyright_checker.js')
-rw-r--r-- | tools/copyright_checker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/copyright_checker.js b/tools/copyright_checker.js index cdd11bcb3..4911d6a05 100644 --- a/tools/copyright_checker.js +++ b/tools/copyright_checker.js @@ -72,7 +72,7 @@ export async function checkCopyright() { // show all the errors at the same time to prevent overlap with // other running scripts that may be outputting console.error(errors.join("\n")); - throw new Error(`Copyright checker had ${totalCount} errors.`); + throw new Error(`Copyright checker had ${errors.length} errors.`); } } |