Skip to content

Commit 3b1a1c0

Browse files
committed
add missing quotes to pipeline
1 parent 86a5d33 commit 3b1a1c0

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@
2222
},
2323
"git.branchProtection": ["main"],
2424
"git.branchRandomName.enable": true,
25-
}
25+
"python-envs.defaultEnvManager": "ms-python.python:system",
26+
"python-envs.pythonProjects": []
27+
}

build/templates/setup.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ steps:
3131
# When using a private/custom registry, configure npm to read auth/config from a temp user config
3232
# instead of relying on a checked-in project .npmrc.
3333
- pwsh: >
34-
$(Build.SourcesDirectory)/build/scripts/ensure-npm-userconfig.ps1
34+
& "$(Build.SourcesDirectory)/build/scripts/ensure-npm-userconfig.ps1"
3535
-Path "${{ parameters.npmrcPath }}"
3636
-Registry "${{ parameters.customNPMRegistry }}"
3737
displayName: 📦 Setup NPM User Config
3838
3939
# Configure npm/yarn to use the custom registry and ensure auth headers are sent.
4040
- pwsh: >
41-
$(Build.SourcesDirectory)/build/scripts/setup-npm-and-yarn.ps1
41+
& "$(Build.SourcesDirectory)/build/scripts/setup-npm-and-yarn.ps1"
4242
-NpmrcPath "${{ parameters.npmrcPath }}"
4343
-Registry "${{ parameters.customNPMRegistry }}"
4444
displayName: 📦 Setup NPM & Yarn
@@ -51,14 +51,14 @@ steps:
5151

5252
# Ensure the registry always sends auth headers (npmAuthenticate may overwrite the file).
5353
- pwsh: >
54-
$(Build.SourcesDirectory)/build/scripts/finalize-npm-config.ps1
54+
& "$(Build.SourcesDirectory)/build/scripts/finalize-npm-config.ps1"
5555
-Path "${{ parameters.npmrcPath }}"
5656
displayName: 📦 Finalize NPM config
5757
5858
# Some lockfiles contain hardcoded references to public registries. Rewrite them so installs
5959
# and `npx` resolve from the custom registry consistently.
6060
- pwsh: >
61-
$(Build.SourcesDirectory)/build/scripts/setup-npm-registry.ps1
61+
& "$(Build.SourcesDirectory)/build/scripts/setup-npm-registry.ps1"
6262
-Registry "${{ parameters.customNPMRegistry }}"
6363
displayName: 📦 Setup NPM Registry
6464

0 commit comments

Comments
 (0)