mirror of
https://github.com/actions/setup-python.git
synced 2024-12-24 14:42:10 -05:00
14 lines
450 B
JavaScript
14 lines
450 B
JavaScript
|
"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);
|
||
|
});
|