Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Flag to ignore 'No file found' error #108

Open
etki opened this issue Nov 17, 2017 · 3 comments
Open

Flag to ignore 'No file found' error #108

etki opened this issue Nov 17, 2017 · 3 comments

Comments

@etki
Copy link

etki commented Nov 17, 2017

Hi!

Currently lint fails if it hasn't found any file. This makes hard to setup CI before writing any code, it would be great to add special flag to ignore such behavior.

@jrfnl
Copy link

jrfnl commented Aug 14, 2019

Or better yet, to just exit with exit code 0 and the No files found message.

I just ran into this as well 😒

@simesy
Copy link

simesy commented Aug 17, 2019

Yes please

@simesy
Copy link

simesy commented Aug 17, 2019

Workarounds:

  • catch code 255 with something like parallel-lint foo || if [ testcode ]; then ...
  • touch path-to-files/index.php before script call - empty file will pass

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

No branches or pull requests

3 participants