Skip to content

Commit d233f41

Browse files
committed
[skip ci] Format
1 parent f3c7adc commit d233f41

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

products/jbrowse-cli/src/utils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@ export async function getBranch(branch: string) {
172172

173173
function wrapText(text: string, width: number, indent: string) {
174174
// Normalize: join single \n into spaces, preserve \n\n as paragraph breaks
175-
const normalized = text.replace(/\n\n/g, '\0').replace(/\n/g, ' ').replace(/\0/g, '\n\n')
175+
const normalized = text
176+
.replace(/\n\n/g, '\0')
177+
.replace(/\n/g, ' ')
178+
.replace(/\0/g, '\n\n')
176179
const lines = []
177180
for (const line of normalized.split('\n')) {
178181
if (line.length <= width) {

0 commit comments

Comments
 (0)