delete-github-branches
Advanced tools
Comparing version 1.2.7 to 1.2.8
@@ -30,3 +30,2 @@ import meow from "meow"; | ||
type: "boolean"; | ||
default: false; | ||
}; | ||
@@ -65,3 +64,2 @@ config: { | ||
type: "boolean"; | ||
default: false; | ||
}; | ||
@@ -68,0 +66,0 @@ config: { |
@@ -68,4 +68,3 @@ "use strict"; | ||
dryRun: { | ||
type: "boolean", | ||
default: false | ||
type: "boolean" | ||
}, | ||
@@ -83,3 +82,3 @@ config: { | ||
exports.run = (_input = exports.cli.input, flags = exports.cli.flags) => __awaiter(void 0, void 0, void 0, function* () { | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
var _a, _b, _c, _d, _e, _f, _g, _h; | ||
const config = flags.config | ||
@@ -103,3 +102,3 @@ ? config_parse_1.parseConfig(path_1.default.resolve(process.cwd(), flags.config)) | ||
token: (_f = (_e = flags.token) !== null && _e !== void 0 ? _e : config.token) !== null && _f !== void 0 ? _f : process.env.GITHUB_TOKEN, | ||
dryRun: (_g = flags.dryRun) !== null && _g !== void 0 ? _g : config.dryRun | ||
dryRun: (_h = (_g = flags.dryRun) !== null && _g !== void 0 ? _g : config.dryRun) !== null && _h !== void 0 ? _h : false | ||
}); | ||
@@ -106,0 +105,0 @@ if (flags.format === "json") { |
{ | ||
"name": "delete-github-branches", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "Delete GitHub Branches that match patterns.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -57,4 +57,3 @@ import meow from "meow"; | ||
dryRun: { | ||
type: "boolean", | ||
default: false | ||
type: "boolean" | ||
}, | ||
@@ -93,3 +92,3 @@ config: { | ||
token: flags.token ?? config.token ?? process.env.GITHUB_TOKEN, | ||
dryRun: flags.dryRun ?? config.dryRun | ||
dryRun: flags.dryRun ?? config.dryRun ?? false | ||
}); | ||
@@ -96,0 +95,0 @@ if (flags.format === "json") { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63885
1208