Преглед на файлове

Rename cwd to repo_root

Matthew Wildoer преди 5 месеца
родител
ревизия
31c6de1329
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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