ci-slack-reporter
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -29,6 +29,6 @@ // my-reporter.js | ||
const res = []; | ||
while (obj.attachments.blocks.length != 0) { | ||
while (obj.attachments[0].blocks.length != 0) { | ||
const deepClone = JSON.parse(JSON.stringify(obj)) | ||
deepClone.attachments.blocks = deepClone.attachments.blocks.slice(0, SLACK_BLOCKS_LIMIT); | ||
ob.attachments.blocks.splice(0, SLACK_BLOCKS_LIMIT); | ||
deepClone.attachments[0].blocks = deepClone.attachments[0].blocks.slice(0, SLACK_BLOCKS_LIMIT); | ||
ob.attachments[0].blocks.splice(0, SLACK_BLOCKS_LIMIT); | ||
res.push(deepClone); | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "ci-slack-reporter", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "Mocha/Cypress reporter to post tests results directly to Slack", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
233161