setup-python/node_modules/husky/lib/runner/bin.js

14 lines
450 B
JavaScript
Raw Normal View History

2019-06-27 08:12:00 +07:00
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const _1 = __importDefault(require("./"));
// Run hook
_1.default(process.argv)
.then((status) => process.exit(status))
.catch((err) => {
console.log('Husky > unexpected error', err);
process.exit(1);
});