Przeglądaj źródła

stop checking for 2021

rhuanjl 3 lat temu
rodzic
commit
4e8152e4da
2 zmienionych plików z 3 dodań i 3 usunięć
  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
 Copyright (c) Microsoft Corporation
 All rights reserved.
 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
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 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) 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.
 # 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 = [
 copyright_lines = [
     r'-------------------------------------------------------------------------------------------------------',
     r'-------------------------------------------------------------------------------------------------------',
     r' Copyright \(C\) Microsoft( Corporation and contributors)?\. All rights reserved\.',
     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' 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
     r'.*' # the above should always be followed by at least one other line, so make sure that line is present
 ]
 ]