Skip to content
Permalink
Browse files
fix: Replaced pathlib relative_to with os.relpath (#1505)
* fix: Replaced pathlib relative_to with os.relpath

* Formatted with black
  • Loading branch information
Christian-Heyer committed Mar 23, 2022
1 parent 62024e2 commit dc65e2921163e9b069c13f79dc0488be21452905
Showing 1 changed file with 1 addition and 1 deletion.
@@ -306,7 +306,7 @@ def execute_deployment_script(self, env_file, deploy_file):
)
logger.info(
"Running post-deploy script {}...".format(
Path(deploy_file).relative_to(os.getcwd())
os.path.relpath(path=deploy_file, start=os.getcwd())
)
)
conda = Conda(self._container_img)

0 comments on commit dc65e29

Please sign in to comment.