We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11444d2 commit 2e5e336Copy full SHA for 2e5e336
e4s_cl/cli/commands/__execute.py
@@ -468,10 +468,10 @@ def main(self, argv):
468
if len(parts) == 2:
469
source, dest = parts
470
471
- if _check_access(path):
472
- container.bind_file(path, option=FileOptions.READ_WRITE)
473
- elif dest and _check_access(source):
+ if dest and _check_access(source):
474
container.bind_file(source, dest=dest, option=FileOptions.READ_WRITE)
+ elif _check_access(path):
+ container.bind_file(path, option=FileOptions.READ_WRITE)
475
else:
476
LOGGER.error("File '%s' not found.", source)
477
0 commit comments