Skip to content

Commit

Permalink
Use NONE const instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Caesarovich committed Jul 17, 2024
1 parent 6c7097b commit 97b074e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export default function boxen(text, options) {
// Option borderBackgroundColor defaults to backgroundColor if unspecified
options.borderBackgroundColor ??= options.backgroundColor;

if (options.borderBackgroundColor === 'none') {
if (options.borderBackgroundColor === NONE) {
options.borderBackgroundColor = null;
}

Expand Down

0 comments on commit 97b074e

Please sign in to comment.