chore: update harp release and drop terraform patch script (#2754)
This commit is contained in:
parent
e813fb4716
commit
6ec0e8c376
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue