Commit b7804b0
Update global-agent comments to use version-agnostic GitHub URL (#28061)
### Description
Updates the `global-agent` reference in code comments across three files
to use a version-agnostic GitHub repository URL, so the comments won't
need updating on future version bumps.
- **`js/scripts/utils.ts`** — replace version-specific blob URL with `//
See the https://github.com/gajus/global-agent ReadMe.md regarding
environment variables.`
- **`js/node/script/install.js`** — same update
- **`js/web/script/pull-prebuilt-wasm-artifacts.ts`** — same update
### Motivation and Context
The actual `global-agent` dependency version bump (from `^3.0.0` to
`^4.1.3`) was done in #27838. The accompanying comments referenced a
version-specific blob URL
(`/blob/v4.1.3/README.md#environment-variables`) which would need
updating on every future version bump. Switching to the top-level
repository URL keeps the comments accurate regardless of which version
is installed.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: skottmckay <979079+skottmckay@users.noreply.github.com>1 parent eb7a1bf commit b7804b0
File tree
3 files changed
+3
-3
lines changed- js
- node/script
- scripts
- web/script
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments