Comments (2)
@shadyvb I think the problem is in different versions of Bash. It works fine on OS X, but I've noticed it fails on our Vagrant box. Specifically, the problem seems to be with populating an array:
IFS=$'\n' staged_js_files=( $(git status --porcelain | egrep $git_status_egrep'\.js$' | cut -c4-) )
from wp-dev-lib.
Fixed in 86d46a9
from wp-dev-lib.
Related Issues (20)
- install-pre-commit-hook.sh will error if "$(git rev-parse --git-dir)/hooks" doesn't exist HOT 1
- Format tag slugs in readme.md
- Downloading PHPUnit twice ? HOT 2
- Validate the composer.json file
- Add support for Composer
- Symlink /vendor to $LINTING_DIRECTORY
- Start versioning wp-dev-lib HOT 6
- Support the new VIP coding standards project HOT 3
- Document the pre-commit hook setup scripts
- Document examples of projects using wp-dev-lib HOT 1
- Update script paths in readme
- DEV_LIB_SKIP documentation HOT 4
- Use newer versions of PHPUnit HOT 3
- Enable MySQL on Travis using Ubuntu Xenial 16.04
- Ensure we always install the necessary version of phpunit
- Configure pre-commit hook to only run required checks. HOT 4
- On Travis: fatal: Invalid symmetric difference expression master... HOT 6
- Temporary directory causes issues when Eslint rule import/no-unresolved is used
- Provide an environment for running wp-dev-lib reliably
- Don't assume the location of PHPUnit coverage reports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-dev-lib.