find-cypress-specs 1.41.3 → 1.41.4

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/bin/find.js +7 -5
  2. package/package.json +1 -1
package/bin/find.js CHANGED
@@ -197,11 +197,13 @@ if (args['--test-counts']) {
197
197
  }
198
198
  if (args['--gha-summary']) {
199
199
  debug('writing GitHub Actions summary')
200
- const summary = `Found that ${pluralize(
201
- 'spec',
202
- changedSpecs.length,
203
- true,
204
- )} changed: ${changedSpecs.join(', ')}`
200
+ const summary = changedSpecs.length
201
+ ? `Found that ${pluralize(
202
+ 'spec',
203
+ changedSpecs.length,
204
+ true,
205
+ )} changed: ${changedSpecs.join(', ')}`
206
+ : 'No specs changed'
205
207
  if (process.env.GITHUB_STEP_SUMMARY) {
206
208
  core.summary.addRaw(summary).write()
207
209
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "find-cypress-specs",
3
- "version": "1.41.3",
3
+ "version": "1.41.4",
4
4
  "description": "Find Cypress spec files using the config settings",
5
5
  "main": "src",
6
6
  "files": [