Skip to content

Commit 337defa

Browse files
committed
Change parameter order for docker-no-tty.
Signed-off-by: D. Mitch Bailey <d.mitch.bailey@gmail.com>
1 parent 2d39ceb commit 337defa

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

chipfoundry_cli/main.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4094,7 +4094,6 @@ def get_valid_from_steps(librelane_python, macro_config, working_dir):
40944094
str(venv_bin / 'python3'), '-m', 'librelane',
40954095
'-m', str(project_root_path),
40964096
'-m', str(pdk_root),
4097-
'--dockerized',
40984097
]
40994098

41004099
# Add --docker-no-tty if not running in a TTY (e.g., CI environments)
@@ -4104,7 +4103,10 @@ def get_valid_from_steps(librelane_python, macro_config, working_dir):
41044103
except:
41054104
# If we can't detect TTY, assume non-TTY (safer for CI)
41064105
cmd.append('--docker-no-tty')
4107-
4106+
4107+
# --docker-no-tty must come before --dockerized
4108+
cmd.append('--dockerized')
4109+
41084110
cmd.extend([
41094111
'--manual-pdk',
41104112
'--pdk-root', str(pdk_root),
@@ -5392,4 +5394,4 @@ def whoami_cmd():
53925394

53935395

53945396
if __name__ == "__main__":
5395-
main()
5397+
main()

0 commit comments

Comments
 (0)