File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { fileURLToPath } from 'node:url'
66
77import { logger } from '@socketsecurity/registry/lib/logger'
88import { pEach } from '@socketsecurity/registry/lib/promises'
9- import { spawn } from '@socketsecurity/registry/lib/spawn'
109
1110import constants from './constants.mjs'
1211
@@ -37,7 +36,10 @@ async function getTestFiles() {
3736 if ( entry . isDirectory ( ) && ! entry . name . startsWith ( '.' ) ) {
3837 // eslint-disable-next-line no-await-in-loop
3938 await collectFiles ( fullPath )
40- } else if ( entry . isFile ( ) && / \. t e s t \. ( m t s | t s | j s | m j s ) $ / . test ( entry . name ) ) {
39+ } else if (
40+ entry . isFile ( ) &&
41+ / \. t e s t \. ( m t s | t s | j s | m j s ) $ / . test ( entry . name )
42+ ) {
4143 files . push ( fullPath )
4244 }
4345 }
@@ -278,7 +280,9 @@ async function main() {
278280 for ( const issue of buildIssues ) {
279281 logger . error ( `✗ ${ issue . message } ` )
280282 }
281- logger . error ( '\nBuild artifacts validation failed. Run build before testing.' )
283+ logger . error (
284+ '\nBuild artifacts validation failed. Run build before testing.' ,
285+ )
282286 process . exitCode = 1
283287 return
284288 }
You can’t perform that action at this time.
0 commit comments