From 9b37c998f6c31caed4c4edc02e9eb3178e33cef5 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Fri, 11 May 2018 10:08:56 -0400 Subject: [PATCH] Update example deploy script to better pull latest editor-layer-index `npm install` may refuse to work if it finds the `editor-layer-index/.git` folder --- scripts/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 13b04a419..f44f6573f 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -32,6 +32,7 @@ fi # pull latest imagery rm -rf node_modules/editor-layer-index/ git clone https://github.com/osmlab/editor-layer-index.git node_modules/editor-layer-index > /dev/null 2>&1 +rm -rf node_modules/editor-layer-index/.git/ # build everything npm run imagery