Skip to content

Commit c812ab3

Browse files
authored
Fix files attaching (via #95)
1 parent 96963b8 commit c812ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Internal/TestLifecycle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function attachReports(): self
239239
if (!is_string($artifact)) {
240240
continue;
241241
}
242-
$dataSource = @file_exists($artifact) && !is_file($artifact)
242+
$dataSource = @file_exists($artifact) && is_file($artifact)
243243
? DataSourceFactory::fromFile($artifact)
244244
: DataSourceFactory::fromString($artifact);
245245
$this

0 commit comments

Comments
 (0)