Skip to content

Commit dcee5e6

Browse files
authored
Apply suggestions from code review
1 parent b6279c4 commit dcee5e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.jenkins/insert_last_verified.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def find_source_file(base_path):
6363

6464

6565
# Function to process a JSON file and insert the "Last Verified" information into the HTML files
66-
def process_json_file(json_file_path):
66+
def process_json_file(build_dir , json_file_path):
6767
with open(json_file_path, "r", encoding="utf-8") as json_file:
6868
json_data = json.load(json_file)
6969

@@ -148,7 +148,7 @@ def main():
148148
exit(1)
149149
build_dir = sys.argv[1]
150150
print(f"Build directory: {build_dir}")
151-
process_json_file(json_file_path)
151+
process_json_file(build_dir , json_file_path)
152152
print(
153153
"Finished processing JSON file. Please check the output for any warnings. "
154154
"Pages like `nlp/index.html` are generated only during the full `make docs` "

0 commit comments

Comments
 (0)