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

cli-task

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-task - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6

2

package.json
{
"name": "cli-task",
"version": "0.6.5",
"version": "0.6.6",
"repository": "https://github.com/astoilkov/cli-task",

@@ -5,0 +5,0 @@ "description": "Task runner for developers minimalists",

@@ -26,9 +26,9 @@ "use strict";

this.status = StepStatus.Failure;
if (err instanceof Error) {
if (typeof err == 'string') {
this.errorMessage = err;
}
else if (typeof err.message == 'string') {
this.error = err;
this.errorMessage = err.message;
}
else if (typeof err == 'string') {
this.errorMessage = err;
}
}

@@ -35,0 +35,0 @@ }

@@ -15,3 +15,3 @@ "use strict";

}
else if (err instanceof Error) {
else if (err) {
throw err;

@@ -122,2 +122,3 @@ }

this.getCurrentStep().failure(message);
process.exit(1);
}

@@ -124,0 +125,0 @@ };

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