alleyinteractive / create-wordpress-project

A starter structure for the wp-content directory on a new WordPress project.
GNU General Public License v2.0
8 stars 0 forks source link

Fix: fatal: ls-files -i must be used with either -o or -c #83

Closed renatonascalves closed 7 months ago

renatonascalves commented 7 months ago

A fix for this particular issue.

+ git ls-files -i --exclude-standard
fatal: ls-files -i must be used with either -o or -c

Here is an example where the Buddy pipeline didn't fail, but it also didn't got the ignored files.

Here is another pipeline with this fix applied, where Buddy fails since there are ignored files and this check works properly.

fixes #86

kevinfodness commented 7 months ago

@renatonascalves for visibility, can you please create a corresponding issue in this repo describing the problem, assign yourself, put it on the department board as "in review," and link this PR to it so that resolving this PR resolves the issue?