From 3b1a1c014ee0e6d821b0245c2850899e7ce4770c Mon Sep 17 00:00:00 2001 From: bschnurr Date: Thu, 22 Jan 2026 10:36:18 -0800 Subject: [PATCH] add missing quotes to pipeline --- .vscode/settings.json | 4 +++- build/templates/setup.yml | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 0de09696..269b37e5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -22,4 +22,6 @@ }, "git.branchProtection": ["main"], "git.branchRandomName.enable": true, -} \ No newline at end of file + "python-envs.defaultEnvManager": "ms-python.python:system", + "python-envs.pythonProjects": [] +} diff --git a/build/templates/setup.yml b/build/templates/setup.yml index f6b37227..9f83a96e 100644 --- a/build/templates/setup.yml +++ b/build/templates/setup.yml @@ -31,14 +31,14 @@ steps: # When using a private/custom registry, configure npm to read auth/config from a temp user config # instead of relying on a checked-in project .npmrc. - pwsh: > - $(Build.SourcesDirectory)/build/scripts/ensure-npm-userconfig.ps1 + & "$(Build.SourcesDirectory)/build/scripts/ensure-npm-userconfig.ps1" -Path "${{ parameters.npmrcPath }}" -Registry "${{ parameters.customNPMRegistry }}" displayName: 📦 Setup NPM User Config # Configure npm/yarn to use the custom registry and ensure auth headers are sent. - pwsh: > - $(Build.SourcesDirectory)/build/scripts/setup-npm-and-yarn.ps1 + & "$(Build.SourcesDirectory)/build/scripts/setup-npm-and-yarn.ps1" -NpmrcPath "${{ parameters.npmrcPath }}" -Registry "${{ parameters.customNPMRegistry }}" displayName: 📦 Setup NPM & Yarn @@ -51,14 +51,14 @@ steps: # Ensure the registry always sends auth headers (npmAuthenticate may overwrite the file). - pwsh: > - $(Build.SourcesDirectory)/build/scripts/finalize-npm-config.ps1 + & "$(Build.SourcesDirectory)/build/scripts/finalize-npm-config.ps1" -Path "${{ parameters.npmrcPath }}" displayName: 📦 Finalize NPM config # Some lockfiles contain hardcoded references to public registries. Rewrite them so installs # and `npx` resolve from the custom registry consistently. - pwsh: > - $(Build.SourcesDirectory)/build/scripts/setup-npm-registry.ps1 + & "$(Build.SourcesDirectory)/build/scripts/setup-npm-registry.ps1" -Registry "${{ parameters.customNPMRegistry }}" displayName: 📦 Setup NPM Registry