Explorar o código

Rename cwd to repo_root

Matthew Wildoer hai 8 meses
pai
achega
31c6de1329
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      configure.py

+ 1 - 1
configure.py

@@ -24,7 +24,7 @@ def main(name: str, debug: bool):
     extended_globals = {
         "name": name,
         "caseconverter": caseconverter,
-        "cwd": Path.cwd(),
+        "repo_root": Path(__file__).parent,
     }
 
     # Load templates