File tree 7 files changed +13
-2
lines changed
7 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ The MIT License (MIT)
2
2
3
3
Copyright (c) Microsoft Corporation
4
4
All rights reserved.
5
- Copyright (c) 2021 ChakraCore Project Contributors
5
+ Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
6
6
7
7
Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change
1
+ # -------------------------------------------------------------------------------------------------------
2
+ # Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
3
+ # Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
+ # -------------------------------------------------------------------------------------------------------
5
+
1
6
trigger :
2
7
- master
3
8
- release/*
Original file line number Diff line number Diff line change 1
1
# -------------------------------------------------------------------------------------------------------
2
2
# Copyright (C) Microsoft. All rights reserved.
3
+ # Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
3
4
# Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
5
# -------------------------------------------------------------------------------------------------------
5
6
Original file line number Diff line number Diff line change 1
1
#-------------------------------------------------------------------------------------------------------
2
2
# Copyright (C) Microsoft. All rights reserved.
3
+ # Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
3
4
# Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
5
#-------------------------------------------------------------------------------------------------------
5
6
13
14
copyright_lines = [
14
15
r'-------------------------------------------------------------------------------------------------------' ,
15
16
r' Copyright \(C\) Microsoft( Corporation and contributors)?\. All rights reserved\.' ,
17
+ r' Copyright \(c\) 2021 ChakraCore Project Contributors\. All rights reserved\.' ,
16
18
r' Licensed under the MIT license\. See LICENSE\.txt file in the project root for full license information\.' ,
17
19
r'.*' # the above should always be followed by at least one other line, so make sure that line is present
18
20
]
33
35
34
36
def report_incorrect (file_name , pairs ):
35
37
# found a problem so report the problem to the caller and exit
36
- print (file_name , "... does not contain a correct Microsoft copyright notice.\n " )
38
+ print (file_name , "... does not contain a correct copyright notice.\n " )
37
39
# print the relevant lines to help the reader find the problem
38
40
for (_ , line ) in pairs :
39
41
print (" " , line , end = "" )
Original file line number Diff line number Diff line change 1
1
# -------------------------------------------------------------------------------------------------------
2
2
# Copyright (C) Microsoft. All rights reserved.
3
+ # Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
3
4
# Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
5
# -------------------------------------------------------------------------------------------------------
5
6
Original file line number Diff line number Diff line change 1
1
# -------------------------------------------------------------------------------------------------------
2
2
# Copyright (C) Microsoft. All rights reserved.
3
+ # Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
3
4
# Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
5
# -------------------------------------------------------------------------------------------------------
5
6
Original file line number Diff line number Diff line change 1
1
# -------------------------------------------------------------------------------------------------------
2
2
# Copyright (C) Microsoft. All rights reserved.
3
+ # Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
3
4
# Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
5
# -------------------------------------------------------------------------------------------------------
5
6
You can’t perform that action at this time.
0 commit comments