Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error when passed a non-existent config file #419

Open
chocolateboy opened this issue Jul 25, 2020 · 1 comment
Open

No error when passed a non-existent config file #419

chocolateboy opened this issue Jul 25, 2020 · 1 comment

Comments

@chocolateboy
Copy link
Contributor

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

@chocolateboy
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant