New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

slack-ctrf

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-ctrf - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

2

dist/cli.js

@@ -65,3 +65,3 @@ #!/usr/bin/env node

const report = (0, ctrf_parser_1.parseCtrfFile)(argv.path);
yield (0, slack_reporter_1.sendTestResultsToSlack)(report, { title: argv.title, prefix: argv.prefix, suffix: argv.suffix }, true);
yield (0, slack_reporter_1.sendTestResultsToSlack)(report, { title: argv.title, prefix: argv.prefix, suffix: argv.suffix, onFailOnly: argv.onFailOnly }, true);
}

@@ -68,0 +68,0 @@ catch (error) {

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

}
if (options.onFailOnly && report.results.summary.failed === 0) {
if (report.results.summary.failed === 0 && options.onFailOnly) {
logs && console.log('No failed tests. Message not sent.');

@@ -24,0 +24,0 @@ return;

{
"name": "slack-ctrf",
"version": "0.0.19",
"version": "0.0.20",
"description": "Send Slack notifications with test results from popular testing frameworks",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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