Skip to content

Commit 92d3a21

Browse files
Correct language tags on five non-YAML code examples (#45907)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent bd35840 commit 92d3a21

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/remove-access-to-public-registries.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Define the private registry configuration in a `dependabot.yml` file. For more i
164164

165165
To ensure the private registry is listed as the dependency source in the project's `yarn.lock` file, run `yarn install` on a machine with private registry access. Yarn should update the `resolved` field to include the private registry URL.
166166

167-
```yaml copy
167+
```text copy
168168
encoding@^0.1.11:
169169
version "0.1.13"
170170
resolved "https://private_registry_url/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9"
@@ -205,7 +205,7 @@ To ensure the private registry is listed as the dependency source in the project
205205

206206
{% raw %}
207207

208-
```yaml copy
208+
```text copy
209209
encoding@^0.1.11:
210210
version "0.1.13"
211211
resolved "https://private_registry_url/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9"
@@ -298,7 +298,7 @@ Define the private registry configuration in a `dependabot.yml` file. For more i
298298

299299
Add the private registry URL to the `[global]` section of the `pip.conf` file and check the file into the repository.
300300

301-
```yaml copy
301+
```text copy
302302
[global]
303303
timeout = 60
304304
index-url = https://private_registry_url
@@ -338,7 +338,7 @@ To configure Pipenv to only access private registries, remove `replaces-base` fr
338338

339339
Add the private registry URL to the `[[source]]` section of the `Pipfile` file and check the file into the repository.
340340

341-
```yaml copy
341+
```text copy
342342
[[source]]
343343
url = "https://private_registry_url"
344344
verify_ssl = true
@@ -351,7 +351,7 @@ To configure Poetry to only access private registries, set `replaces-base: true`
351351

352352
Add the private registry url to the `[[tool.poetry.source]]` section of the `pyproject.toml` file and checked it in the repository.
353353

354-
```yaml copy
354+
```text copy
355355
[[tool.poetry.source]]
356356
name = "private"
357357
url = "https://private_registry_url"

0 commit comments

Comments
 (0)