build: update npx.py to support npx@7 (#26662)
* build: update npx.py to support npx@7 * build: set npm_config_yes for all npx callsites
This commit is contained in:
parent
e455a79218
commit
b894151745
6 changed files with 17 additions and 6 deletions
|
@ -46,9 +46,11 @@ def main():
|
|||
|
||||
for symbol_file in files:
|
||||
print("Generating Sentry src bundle for: " + symbol_file)
|
||||
npx_env = os.environ.copy()
|
||||
npx_env['npm_config_yes'] = 'true'
|
||||
subprocess.check_output([
|
||||
NPX_CMD, '@sentry/cli@1.51.1', 'difutil', 'bundle-sources',
|
||||
symbol_file])
|
||||
symbol_file], env=npx_env)
|
||||
|
||||
files += glob.glob(SYMBOLS_DIR + '/*/*/*.src.zip')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue