egoist / bili

Bili makes it easier to bundle JavaScript libraries.

Home Page:https://bili.egoist.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No error when passed a non-existent config file

chocolateboy opened this issue · comments

Test

$ yarn -s bili --config ./no-such-file.js src/*.* && echo ok

Expected

Cannot find Bili config file at ./no-such-file.js

Actual

ok

Environment

bili: 5.0.5
Node.js: v14.6.0
OS: Linux (Arch)


Keywords: exist, exists, existence, existent

The last version which reports the error appears to be v3.4.2 (v4.0.5 doesn't report it and I can't get v4.0.0 - v4.0.4 to run because of a missing dependency):

🚨 Cannot find Bili config file at no-such-file.js
error Command failed with exit code 1.