mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
chore(tools): Copyright checker had a bad interpolation (#18328)
The copyright checker was erroring out with a bad interpolation if errors existed.
This commit is contained in:
parent
2fcf1f14cf
commit
08849a48ca
1 changed files with 1 additions and 1 deletions
|
@ -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.`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue