Skip to content

Commit

Permalink
style: ouptimize output logs.
Browse files Browse the repository at this point in the history
jaywcjlove committed Mar 31, 2023

Verified

This commit was signed with the committer’s verified signature.
jrieken Johannes Rieken
1 parent 50e5b1a commit da2c83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/compile.ts
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ export async function compile(options: CompileOptions = {}) {
];
(options.entry || []).forEach((fileNames) => err.push(` \x1b[35;1m${fileNames}\x1b[0m`));
!options.entry?.length &&
err.push('\x1b[33;1mNo files were indexed. Please check your command line arguments.\x1b[0m');
err.push(' \x1b[33;1mNo files were indexed. Please check your command line arguments.\x1b[0m');
if (process.platform === 'win32') {
err.push('\n Please note that on \x1b[33;1mWindows\x1b[0m platform, double(") quotes should be used to ');
err.push(" index file parameters instead of single(') quotes.\n");

0 comments on commit da2c83a

Please sign in to comment.