Skip to content

Commit 43531f5

Browse files
committedAug 31, 2021
chore: Modify the output log.
1 parent b6566d4 commit 43531f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/compile.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default async function compile(dir: string, option: ICompileOtion) {
2828
const cssStr: Array<string> = lessSource.map((item: IOutputFile) => item.css);
2929
if (!!cssStr.join('').trim()) {
3030
await fs.outputFile(outputCssFile, cssStr.join(''));
31-
await log(outputCssFile);
31+
await log(path.relative(process.cwd(), outputCssFile));
3232
} else {
3333
console.log(`🚧 \x1b[35m${projectName}\x1b[0m =>\x1b[33m No content is output.\x1b[0m`);
3434
}

0 commit comments

Comments
 (0)
Please sign in to comment.