mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-08 13:11:11 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
node_modules/husky/lib
15
node_modules/husky/lib/getConf.js
generated
vendored
15
node_modules/husky/lib/getConf.js
generated
vendored
|
@ -1,15 +0,0 @@
|
|||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const cosmiconfig_1 = __importDefault(require("cosmiconfig"));
|
||||
function getConf(dir) {
|
||||
const explorer = cosmiconfig_1.default('husky');
|
||||
const { config = {} } = explorer.searchSync(dir) || {};
|
||||
const defaults = {
|
||||
skipCI: true
|
||||
};
|
||||
return Object.assign({}, defaults, config);
|
||||
}
|
||||
exports.default = getConf;
|
Loading…
Add table
Add a link
Reference in a new issue