File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -144,12 +144,11 @@ def should_modify_pyproject_toml() -> bool:
144144 if "tests_root" not in config or config ["tests_root" ] is None or not Path (config ["tests_root" ]).is_dir ():
145145 return True
146146
147- create_toml = Confirm .ask (
147+ return Confirm .ask (
148148 "✅ A valid Codeflash config already exists in this project. Do you want to re-configure it?" ,
149149 default = False ,
150150 show_default = True ,
151151 )
152- return create_toml
153152
154153
155154def collect_setup_info () -> SetupInfo :
@@ -959,10 +958,9 @@ def ask_for_telemetry() -> bool:
959958 """Prompt the user to enable or disable telemetry."""
960959 from rich .prompt import Confirm
961960
962- enable_telemetry = Confirm .ask (
961+ return Confirm .ask (
963962 "⚡️ Would you like to enable telemetry to help us improve the Codeflash experience?" ,
964963 default = True ,
965964 show_default = True ,
966965 )
967966
968- return enable_telemetry
You can’t perform that action at this time.
0 commit comments