Skip to content

Commit 46dab3b

Browse files
committed
Clearer messaging on building with no input file
1 parent 92ffe40 commit 46dab3b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cli/commands/build.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ function buildToFile(compileOptions, startTime) {
8282
utils.log()
8383
utils.log(
8484
emoji.go,
85-
'Building...',
86-
colors.file(inputFileSimplePath || 'defaults: @base, @components and @utilities.')
85+
...(inputFileSimplePath
86+
? ['Building:', colors.file(inputFileSimplePath)]
87+
: ['Building from default CSS...', colors.info('(No input file provided)')])
8788
)
8889

8990
return compile(compileOptions).then(result => {

0 commit comments

Comments
 (0)