10000 Update setup_env.py · izam-mohammed/data-source@7c9634a · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c9634a

Browse files
Update setup_env.py
1 parent e2f0f54 commit 7c9634a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup_env.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@
628628
"data":data["feature_request"],
629629
"dependency":[]
630630
},
631-
".github/wordflows/greetings.yml":{
631+
".github/workflows/greetings.yml":{
632632
"data":data["greetings"],
633633
"dependency":[]
634634
},
@@ -674,7 +674,7 @@
674674
if (not os.path.exists(filepath)) or (os.path.getsize(filepath) == 0):
675675
with open(filepath, "w") as f:
676676
if filepath == "CODE_OF_CONDUCT.md":
677-
f.write(config_files[filepath]["data"].format(project_name))
677+
f.write(config_files[filepath]["data"].format(project_name=project_name))
678678
elif filepath == "README.md":
679679
f.write(config_files[filepath]["data"].format(project_name=project_name, short_description=shortdescription))
680680
elif filepath == "CONTRIBUTING.md":
@@ -683,4 +683,4 @@
683683
else:
684684
print(f"{filepath} is already exists")
685685
except Exception as e:
686-
print(f"error - {e}")
686+
raise e

0 commit comments

Comments
 (0)
0