Browse Source

stop checking for 2021

rhuanjl 3 years ago
parent
commit
4e8152e4da
2 changed files with 3 additions and 3 deletions
  1. 1 1
      LICENSE.txt
  2. 2 2
      tools/StyleChecks/check_copyright.py

+ 1 - 1
LICENSE.txt

@@ -2,7 +2,7 @@ The MIT License (MIT)
 
 Copyright (c) Microsoft Corporation
 All rights reserved.
-Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
+Copyright (c) ChakraCore Project Contributors. All rights reserved.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

+ 2 - 2
tools/StyleChecks/check_copyright.py

@@ -1,6 +1,6 @@
 #-------------------------------------------------------------------------------------------------------
 # Copyright (C) Microsoft. All rights reserved.
-# Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
+# Copyright (c) ChakraCore Project Contributors. All rights reserved.
 # Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 #-------------------------------------------------------------------------------------------------------
 
@@ -14,7 +14,7 @@ import re
 copyright_lines = [
     r'-------------------------------------------------------------------------------------------------------',
     r' Copyright \(C\) Microsoft( Corporation and contributors)?\. All rights reserved\.',
-    r' Copyright \(c\) 2021 ChakraCore Project Contributors\. All rights reserved\.',
+    r' Copyright \(c\)( 2022)? ChakraCore Project Contributors\. All rights reserved\.',
     r' Licensed under the MIT license\. See LICENSE\.txt file in the project root for full license information\.',
     r'.*' # the above should always be followed by at least one other line, so make sure that line is present
 ]