mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
11 lines
228 B
Python
11 lines
228 B
Python
def get_cert():
|
|
return "<CERT>"
|
|
|
|
|
|
def write_cert(filename):
|
|
cert = get_cert()
|
|
with open(filename, "w") as file:
|
|
file.write(cert) # NOT OK
|
|
lines = [cert + "\n"]
|
|
file.writelines(lines) # NOT OK
|