Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

delete-github-branches

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

delete-github-branches - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

lib/cli-check-branch.d.ts

@@ -27,8 +27,4 @@ import meow from "meow";

exitStatus: number;
stderr: Error;
stdout: null;
} | {
exitStatus: number;
stderr: null;
stdout: string;
}>;

2

lib/cli-check-branch.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc