Przeglądaj źródła

Add end line in .gitignore (#3309)

Santiago Botero 1 rok temu
rodzic
commit
99d59104ad
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      reflex/utils/prerequisites.py

+ 1 - 1
reflex/utils/prerequisites.py

@@ -413,7 +413,7 @@ def initialize_gitignore(
     # Write files to the .gitignore file.
     # Write files to the .gitignore file.
     with open(gitignore_file, "w", newline="\n") as f:
     with open(gitignore_file, "w", newline="\n") as f:
         console.debug(f"Creating {gitignore_file}")
         console.debug(f"Creating {gitignore_file}")
-        f.write(f"{(path_ops.join(sorted(files_to_ignore))).lstrip()}")
+        f.write(f"{(path_ops.join(sorted(files_to_ignore))).lstrip()}\n")
 
 
 
 
 def initialize_requirements_txt():
 def initialize_requirements_txt():