Skip to content

Commit cfdf16b

Browse files
Update src/model/results-check.ts
Co-authored-by: Koji Hasegawa <[email protected]>
1 parent 9b7d89c commit cfdf16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/results-check.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ResultsCheck = {
2424
core.info(`Processing file ${filepath}...`);
2525
try {
2626
const content = fs.readFileSync(path.join(artifactsPath, filepath), 'utf8');
27-
if (!content.includes('<test-results') && !content.includes('<test-run')) {
27+
if (!content.includes('<test-run')) {
2828
// noinspection ExceptionCaughtLocallyJS
2929
throw new Error('File does not appear to be a NUnit XML file');
3030
}

0 commit comments

Comments
 (0)