Created
March 29, 2016 12:42
-
-
Save desbo/906326b08c05aa09e2fe to your computer and use it in GitHub Desktop.
ansi-script npm-shrinkwrap fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -nHC1 "2\.2\.0" npm-shrinkwrap.json \ | |
| grep -A1 ansi-styles \ | |
| grep npm-shrinkwrap.json: \ | |
| cut -d: -f2 \ | |
| xargs -I"{}" -n1 sed -i {}s/\.0/\.1/ npm-shrinkwrap.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment