mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
7 lines
193 B
Python
7 lines
193 B
Python
from tempfile import NamedTemporaryFile
|
|
|
|
def write_results(results):
|
|
with NamedTemporaryFile(mode="w+", delete=False) as f:
|
|
f.write(results)
|
|
print("Results written to", f.name)
|