mirror of
https://github.com/konpa/devicon.git
synced 2025-08-22 22:24:43 +02:00
Added working workflow file
This commit is contained in:
8
.github/scripts/build_assets/filehandler.py
vendored
8
.github/scripts/build_assets/filehandler.py
vendored
@@ -230,3 +230,11 @@ def get_added_modified_svgs(files_added_json_path: str,
|
||||
svgs.append(path)
|
||||
|
||||
return svgs
|
||||
|
||||
|
||||
def write_to_file(path: str, value: any):
|
||||
"""
|
||||
Write the value to a JSON file.
|
||||
"""
|
||||
with open(path, "w") as file:
|
||||
file.write(value)
|
||||
|
Reference in New Issue
Block a user