Skip to content

Commit

Permalink
CI Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ObliviousHarmony committed Sep 17, 2024
1 parent 7af3bce commit 6803372
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/phpcs-report/__tests__/worker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,10 @@ describe('Worker', () => {
process.platform === 'win32' ? 'phpcs.bat' : 'phpcs'
);

const logPath = resolvePath(
__dirname,
'..',
'..',
'..',
'vendor',
'bin'
);

console.log(
child_process.execSync('pwd', {
encoding: 'utf-8',
}),
child_process.execSync('ls -la ' + logPath, { encoding: 'utf-8' })
);

try {
child_process.execFileSync(phpcsPath, ['--version']);
} catch (e) {
console.log( e );

Check failure on line 36 in src/phpcs-report/__tests__/worker.spec.ts

View workflow job for this annotation

GitHub Actions / Windows

Replace `·e·` with `e`

Check failure on line 36 in src/phpcs-report/__tests__/worker.spec.ts

View workflow job for this annotation

GitHub Actions / Linux

Replace `·e·` with `e`
throw new Error(
'PHPCS could not be found at "' +
phpcsPath +
Expand Down

0 comments on commit 6803372

Please sign in to comment.