color edits

This commit is contained in:
Paul Gauthier 2023-05-10 19:55:59 -07:00
parent c9efc43c98
commit d0222a7129
2 changed files with 13 additions and 20 deletions

View file

@ -151,10 +151,10 @@ class Commands:
matched_files = [file for file in files if word in file]
if not matched_files:
if self.coder.repo is not None:
create_file = Confirm.ask(
f"[bright_black]No files matched '{word}'. "
"Do you want to create the file and add it to git?"
)
create_file = Confirm.ask(
f"[bright_black]No files matched '{word}'. "
"Do you want to create the file and add it to git?"
)
else:
create_file = Confirm.ask(
f"[bright_black]No files matched '{word}'. Do you want to create the file?"