Skip to content

Commit

Permalink
fix: removed useless regexp char escapes
Browse files Browse the repository at this point in the history
  • Loading branch information
eser committed Jan 8, 2024
1 parent 905485e commit 1eaf066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _etc/tasks/check-license.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const CHECK = runtime.args.includes("--check");
const BASE_YEAR = "2023";
// const CURRENT_YEAR = new Date().getFullYear();
const RX_COPYRIGHT = new RegExp(
`// Copyright ([0-9]{4})-present Eser Ozvataf and other contributors\\. All rights reserved\\. ([0-9A-Za-z\-\.]+) license\\.\n`,
`// Copyright ([0-9]{4})-present Eser Ozvataf and other contributors\\. All rights reserved\\. ([0-9A-Za-z-.]+) license\\.\n`,
);
const COPYRIGHT =
`// Copyright ${BASE_YEAR}-present Eser Ozvataf and other contributors. All rights reserved. Apache-2.0 license.`;
Expand Down

0 comments on commit 1eaf066

Please sign in to comment.