Skip to content

Commit 8ab9602

Browse files
Suppress pip root user warning in Docker precheck
Made-with: Cursor
1 parent 70bde07 commit 8ab9602

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chipfoundry_cli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3275,7 +3275,7 @@ def precheck(project_root, skip_checks, magic_drc, checks, dry_run):
32753275
if checks:
32763276
precheck_args.extend(list(checks))
32773277

3278-
inner_cmd = 'pip3 install --upgrade -q cf-precheck && cf-precheck ' + ' '.join(precheck_args)
3278+
inner_cmd = 'pip3 install --upgrade -q --root-user-action=ignore cf-precheck 2>/dev/null && cf-precheck ' + ' '.join(precheck_args)
32793279

32803280
docker_cmd = [
32813281
'docker', 'run', '--rm',

0 commit comments

Comments
 (0)