Remove outdated non-empty output dir warning [ci skip]

This commit is contained in:
Ines Montani 2020-08-26 15:45:51 +02:00
parent 90d88729e0
commit a5fff1df51
1 changed files with 0 additions and 8 deletions

View File

@ -394,14 +394,6 @@ def verify_cli_args(config_path: Path, output_path: Optional[Path] = None) -> No
if not output_path.exists():
output_path.mkdir()
msg.good(f"Created output directory: {output_path}")
elif output_path.exists() and [p for p in output_path.iterdir() if p.is_dir()]:
msg.warn(
"Output directory is not empty.",
"This can lead to unintended side effects when saving the model. "
"Please use an empty directory or a different path instead. If "
"the specified output path doesn't exist, the directory will be "
"created for you.",
)
def verify_config(nlp: Language) -> None: