Skip to content

Commit ab9b017

Browse files
committed
fix: tell yaml not to wrap lineWidth
1 parent dd505bd commit ab9b017

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

cli/lib/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const updateNav = async (updates, {nav, path}) => {
3535
}
3636
}
3737

38-
return fs.writeFile(path, nav.toString(), 'utf-8')
38+
return fs.writeFile(path, nav.toString({ lineWidth: 0 }), 'utf-8')
3939
}
4040

4141
const getCurrentVersions = nav => {

content/nav.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,8 +1788,7 @@
17881788
description: Manage your authentication tokens
17891789
- title: npm trust
17901790
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
17931792
- title: npm undeprecate
17941793
url: /cli/v11/commands/npm-undeprecate
17951794
description: Undeprecate a version of a package

0 commit comments

Comments
 (0)