From 1264b99766d5b062f19e99326ed7cc1f5f19de89 Mon Sep 17 00:00:00 2001 From: Simonas Karuzas Date: Fri, 24 Apr 2020 17:06:49 +0300 Subject: [PATCH] fix: Failing CI --- packages/daf-cli/package.json | 2 +- packages/daf-cli/scripts/postinstall.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 packages/daf-cli/scripts/postinstall.js diff --git a/packages/daf-cli/package.json b/packages/daf-cli/package.json index 21b34eac5..41021e24c 100644 --- a/packages/daf-cli/package.json +++ b/packages/daf-cli/package.json @@ -8,7 +8,7 @@ "daf": "bin/daf.js" }, "scripts": { - "postinstall": "node scripts/postinstall", + "postinstall": "scripts/postinstall.js", "build": "tsc", "watch": "tsc -b --watch" }, diff --git a/packages/daf-cli/scripts/postinstall.js b/packages/daf-cli/scripts/postinstall.js old mode 100644 new mode 100755 index c06ed4576..dbb324eeb --- a/packages/daf-cli/scripts/postinstall.js +++ b/packages/daf-cli/scripts/postinstall.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + const fs = require('fs') const { SecretBox } = require('daf-libsodium')