Skip to content

Commit 7ad9c60

Browse files
committed
fix(ci) Use PrestoC++ license check script for protocol
The protocol generation used the Velox license check script to remove the license headers from special files. But presto-native-execution has its own license check that should be used. This decouples PrestoC++ and Velox.
1 parent c270c64 commit 7ad9c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presto-native-execution/presto_cpp/presto_protocol/java-to-struct-json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def member_name(name):
169169
def special(filepath, current_class, key, classes, depends):
170170
classes[current_class].class_name = current_class
171171
(status, stdout, stderr) = classes[current_class][key] = util.run(
172-
"../../velox/scripts/checks/license-header.py --header ../../license.header --remove "
172+
"../../scripts/license-header.py --header ../../license.header --remove "
173173
+ filepath
174174
)
175175
classes[current_class][key] = stdout

0 commit comments

Comments
 (0)