Skip to content

Commit f5104c9

Browse files
committed
Tweak the code to avoid fabbot false positives
1 parent 1dbc09f commit f5104c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pipes/WindowsPipes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct($input, $haveReadSupport)
5757

5858
if (!$h = fopen($file.'.lock', 'w')) {
5959
restore_error_handler();
60-
throw new RuntimeException(sprintf('A temporary file could not be opened to write the process output: %s.', $lastError));
60+
throw new RuntimeException('A temporary file could not be opened to write the process output: '.$lastError);
6161
}
6262
if (!flock($h, LOCK_EX | LOCK_NB)) {
6363
continue 2;

0 commit comments

Comments
 (0)