delete-github-branches
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -27,8 +27,4 @@ import meow from "meow"; | ||
exitStatus: number; | ||
stderr: Error; | ||
stdout: null; | ||
} | { | ||
exitStatus: number; | ||
stderr: null; | ||
stdout: string; | ||
}>; |
@@ -71,3 +71,3 @@ "use strict"; | ||
if (deletedBranchNames.length > 0) { | ||
return { exitStatus: 1, stderr: new Error(`${deletedBranchNames.join(",")} will be deleted`), stdout: null }; | ||
return { exitStatus: 1, stderr: null, stdout: `${deletedBranchNames.join(",")} will be deleted` }; | ||
} | ||
@@ -74,0 +74,0 @@ else { |
{ | ||
"name": "delete-github-branches", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Delete GitHub Branches that match patterns.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -41,5 +41,4 @@ # delete-github-branches | ||
Also this package includes helper cli tool. | ||
`delete-github-branches-check-branch-name` just detect if the branch name will be deleted? | ||
`delete-github-branches-check-branch-name` just detect if the branch name is matched patterns. | ||
Usage | ||
@@ -46,0 +45,0 @@ $ delete-github-branches-check-branch-name [branchName] |
@@ -63,3 +63,3 @@ import meow from "meow"; | ||
if (deletedBranchNames.length > 0) { | ||
return { exitStatus: 1, stderr: new Error(`${deletedBranchNames.join(",")} will be deleted`), stdout: null }; | ||
return { exitStatus: 1, stderr: null, stdout: `${deletedBranchNames.join(",")} will be deleted` }; | ||
} else { | ||
@@ -66,0 +66,0 @@ return { exitStatus: 0, stderr: null, stdout: `${input.join(",")} will not be deleted` }; |
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
57321
1150
191