Skip to content

Instantly share code, notes, and snippets.

@retrohacker
Created January 24, 2019 21:53
Show Gist options
  • Save retrohacker/f9887dfe6e7a7fdb602a75386d6e238b to your computer and use it in GitHub Desktop.
Save retrohacker/f9887dfe6e7a7fdb602a75386d6e238b to your computer and use it in GitHub Desktop.
Make all mocha dependencies in your project solarized friendly
#!/bin/bash
# Save this in your path as `solarized_mocha` and then run `solarized_mocha` in the root of your project
find . -name mocha -type d | xargs -I{} sed -i 's|\(.*:\) 90|\1 92|g' {}/mocha.js {}/lib/reporters/base.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment