Skip to content

Commit

Permalink
remove unneeded null check
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorjboyd committed Jan 10, 2025
1 parent 354fcd6 commit bc4db19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export class UnittestTestDiscoveryAdapter implements ITestDiscoveryAdapter {
// if the child has testIds then this is a run request
spawnOptions?.outputChannel?.append(MESSAGE_ON_TESTING_OUTPUT_MOVE);

if (code && code !== 0) {
if (code !== 0) {
// This occurs when we are running discovery
traceError(
`Subprocess exited unsuccessfully with exit code ${code} and signal ${signal} on workspace ${options.cwd}. Creating and sending error discovery payload \n`,
Expand Down

0 comments on commit bc4db19

Please sign in to comment.