Skip to content

Instantly share code, notes, and snippets.

@johnelliott
Created January 3, 2019 21:16
Show Gist options
  • Save johnelliott/90e4cdf4ebecb00ece22b3205b77a4ca to your computer and use it in GitHub Desktop.
Save johnelliott/90e4cdf4ebecb00ece22b3205b77a4ca to your computer and use it in GitHub Desktop.
#! /bin/sh
find . -name node_modules -prune -or -name package-lock.json -exec sed --in-place=.backup --separate 's|http://|https://|g' {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment