mirror of
https://github.com/clearml/clearml-agent
synced 2025-03-15 07:58:31 +00:00
Remove warning on '.' (same as an empty working directory)
This commit is contained in:
parent
3bed0ef33c
commit
7170296162
@ -157,7 +157,7 @@ class LiteralScriptManager(object):
|
|||||||
if repo_info and repo_info.root:
|
if repo_info and repo_info.root:
|
||||||
location = Path(repo_info.root, execution.working_dir)
|
location = Path(repo_info.root, execution.working_dir)
|
||||||
else:
|
else:
|
||||||
if execution.working_dir:
|
if execution.working_dir and execution.working_dir.strip() != '.':
|
||||||
log.warning(
|
log.warning(
|
||||||
"found task with `script.working_dir` (`%s`) but without `script.repository`, ignoring",
|
"found task with `script.working_dir` (`%s`) but without `script.repository`, ignoring",
|
||||||
execution.working_dir,
|
execution.working_dir,
|
||||||
|
Loading…
Reference in New Issue
Block a user