fix: tell yaml not to wrap lineWidth (#1915)

Gar committed Mar 16, 2026 at 09:47 UTC 02d30710421784ce78070389ea679d17923d8692
2 files changed +2 -3
cli/lib/build.js
+1 -1
@@ -35,7 +35,7 @@ const updateNav = async (updates, {nav, path}) => {
35 }
36 }
37
38 - return fs.writeFile(path, nav.toString(), 'utf-8')
38 + return fs.writeFile(path, nav.toString({lineWidth: 0}), 'utf-8')
39 }
40
41 const getCurrentVersions = nav => {
content/nav.yml
+1 -2
@@ -1788,8 +1788,7 @@
1788 description: Manage your authentication tokens
1789 - title: npm trust
1790 url: /cli/v11/commands/npm-trust
1791 - description: Manage trusted publishing relationships between packages and CI/CD
1792 - providers
1791 + description: Manage trusted publishing relationships between packages and CI/CD providers
1792 - title: npm undeprecate
1793 url: /cli/v11/commands/npm-undeprecate
1794 description: Undeprecate a version of a package