Skip to content

Commit

Permalink
fix copyright tool
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Jan 2, 2025
1 parent cb4643b commit 944d3d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/copyright_checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import { getSources, ROOT_PATH } from "./util.js";

const copyrightYear = 2024;
const copyrightYear = 2025;

const SOURCES = [
// js and ts
Expand All @@ -18,9 +18,9 @@ const SOURCES = [
];

const COPYRIGHT_REGEX =
/^(#|\/\/) Copyright \d+-\d+ the Deno authors. All rights reserved. MIT license./;
/^(#|\/\/) Copyright \d+-\d+ the Deno authors. MIT license./;
const COPYRIGHT_LINE =
`Copyright 2018-${copyrightYear} the Deno authors. All rights reserved. MIT license.`;
`Copyright 2018-${copyrightYear} the Deno authors. MIT license.`;

// Acceptable content before the copyright line
const ACCEPTABLE_LINES =
Expand Down

0 comments on commit 944d3d8

Please sign in to comment.