@reporters/github 1.5.1 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ 'use strict';
2
+
1
3
  const path = require('node:path');
2
4
  const util = require('node:util');
3
5
  const { EOL } = require('node:os');
@@ -61,7 +63,7 @@ module.exports = async function githubReporter(source) {
61
63
  case 'test:fail': {
62
64
  const error = event.data.details?.error;
63
65
  if (error?.code === 'ERR_TEST_FAILURE' && error?.failureType === 'subtestsFailed') {
64
- // this means the failed subtests are already reported
66
+ // This means the failed subtests are already reported
65
67
  // no need to re-annotate the file itself
66
68
  break;
67
69
  }
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@reporters/github",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "A github actions reporter for `node:test`",
5
+ "type": "commonjs",
5
6
  "keywords": [
6
7
  "github actions",
7
8
  "node:test",