]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix client postinstall on release
authorChocobozzz <me@florianbigard.com>
Tue, 22 May 2018 14:43:58 +0000 (16:43 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 22 May 2018 14:43:58 +0000 (16:43 +0200)
client/package.json

index 507d2da0e8ff914742c409323a93f01f6880fef9..a353b4dfedd8bcbef2f8ffaad5a5375787fe177e 100644 (file)
@@ -17,7 +17,7 @@
     "webpack": "webpack",
     "tslint": "tslint",
     "ng": "ng",
-    "postinstall": "npm rebuild node-sass && node angular-cli-patch.js",
+    "postinstall": "npm rebuild node-sass && test -f angular-cli-patch.js && node angular-cli-patch.js || true",
     "webpack-bundle-analyzer": "webpack-bundle-analyzer",
     "webdriver-manager": "webdriver-manager"
   },