diff --git a/package.json b/package.json index c15d92ecb3..955de60cd4 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "gulp-tslint": "^5.0.0", "gulp-util": "^3.0.6", "gulp-watch": "^4.3.4", - "harp": "0.21.0-pre.1", + "harp": "^0.21.0", "html2jade": "^0.8.4", "indent-string": "^2.1.0", "jasmine-core": "^2.3.4", diff --git a/scripts/install.sh b/scripts/install.sh index 79242a0d16..a478f6880f 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -16,9 +16,6 @@ fi echo "Installing main packages ..." npm install --no-optional -echo "Patching ..." -source ./scripts/patch.sh - if [ -z "$TRAVIS" ]; then echo "Rebuilding node-sass, just in case ..." npm rebuild node-sass; diff --git a/scripts/patch.sh b/scripts/patch.sh deleted file mode 100755 index 87876b20b5..0000000000 --- a/scripts/patch.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -set -e -o pipefail - -TARGET=node_modules/terraform/lib/helpers/raw.js - -# Around line 282 change from/to: -# var namespace = sourcePath.split(".")[0].split("/") -# var namespace = sourcePath.split('.').slice(0, -1).join('.').split('/') - -if [ -e "$TARGET" ]; then - perl -i.bak -pe 's/^(\s+var namespace.*split\("."\))\[0\]/\1.slice(0, -1).join(".")/' "$TARGET" - echo "Patched '$TARGET'." -else - echo "Nothing to patch. Can't find file '$TARGET'." - exit 1; -fi