mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00: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
@ -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 New Issue
Block a user