Skip to content

Commit 7f015a5

Browse files
committed
chore: 💡 add comment to clarify double space in string literal
1 parent 8edab7f commit 7f015a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const libraryPrefix = `${libraryName} ${librarySeperator}`;
88

99
const prefixes = {
1010
warn: `${chalk.yellow(`warn`)} - ${libraryPrefix}`,
11-
info: `${chalk.cyan(`info`)} - ${libraryPrefix}`,
11+
info: `${chalk.cyan(`info`)} - ${libraryPrefix}`, // Double space before the dash aligns messages in the terminal and improves readability.
1212
};
1313

1414
export function warn(message: string) {

0 commit comments

Comments
 (0)