Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Oct 28, 2024
1 parent 970d3bb commit 014293b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wpimath/generate_quickbuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def generate_quickbuf(
for java_file in java_files:
with (java_file).open(encoding="utf-8") as f:
content = f.read()

output_content = "// Copyright (c) FIRST and other WPILib contributors.\n// Open Source Software; you can modify and/or share it under the terms of\n// the WPILib BSD license file in the root directory of this project.\n" + content
print(output_content)
java_file.write_text(
"// Copyright (c) FIRST and other WPILib contributors.\n// Open Source Software; you can modify and/or share it under the terms of\n// the WPILib BSD license file in the root directory of this project.\n"
+ content,
output_content,
encoding="utf-8",
newline="\n"
)
Expand Down

0 comments on commit 014293b

Please sign in to comment.