From b7c2705f021efe20438e32077a2d766dac8c7937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alu=C3=ADsio=20Augusto=20Silva=20Gon=C3=A7alves?= <1904165+AluisioASG@users.noreply.github.com> Date: Wed, 24 Jul 2019 15:29:35 -0300 Subject: [PATCH] Add shebang to run.js (#528) Fixes running the hooks through Yarn (which doesn't call husky-run as a script). --- run.js | 1 + 1 file changed, 1 insertion(+) diff --git a/run.js b/run.js index e4bdb8b99..1be71b794 100644 --- a/run.js +++ b/run.js @@ -1,3 +1,4 @@ +#!/usr/bin/env node /* eslint-disable @typescript-eslint/no-var-requires */ const pleaseUpgradeNode = require('please-upgrade-node') const pkg = require('./package.json')