Skip to content

Commit f546d4f

Browse files
Apply suggestions from code review
Co-authored-by: Erik van Sebille <erikvansebille@gmail.com>
1 parent fac4803 commit f546d4f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/virtualship/cli/_run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,13 +288,13 @@ def _unique_id(expedition: Expedition, cache_dir: Path) -> str:
288288
return new_id
289289

290290

291-
def _warn_overwrite(results_dir: Path) -> None:
291+
def _warn_overwrite_results_dir(results_dir: Path) -> None:
292292
if os.path.exists(results_dir):
293293
print(
294294
f"\nWARNING: The '{results_dir}' directory already exists and will be overwritten. If you want to keep the previous results, please move or rename the '{results_dir}' directory before re-running the expedition.\n"
295295
)
296296
decision = input(
297-
"Do you want to continue and overwrite the existing results? (y/n): "
297+
"Do you want to continue the expedition run and thereby overwrite the existing results? (y/n): "
298298
)
299299
if decision.lower() != "y":
300300
print("Expedition run cancelled by user.")

0 commit comments

Comments
 (0)