Skip to content

Commit 6e8e276

Browse files
authored
fix(cli): disable vertical borders of the update notification (facebook#9309)
1 parent 598b320 commit 6e8e276

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

packages/docusaurus/bin/beforeCli.mjs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,16 @@ export default async function beforeCli() {
141141
margin: 1,
142142
align: 'center',
143143
borderColor: 'yellow',
144-
borderStyle: 'round',
144+
borderStyle: {
145+
topLeft: ' ',
146+
topRight: ' ',
147+
bottomLeft: ' ',
148+
bottomRight: ' ',
149+
top: '-',
150+
bottom: '-',
151+
left: ' ',
152+
right: ' ',
153+
},
145154
};
146155

147156
const docusaurusUpdateMessage = boxen(

0 commit comments

Comments
 (0)