aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-26 17:06:32 +0100
committerJoas Schilling <coding@schilljs.com>2020-10-26 17:06:32 +0100
commitdd3d5829e73c90a9f3ee068ab103ed1b04f97e35 (patch)
tree8a9f14e32153a0185ba63cbfa04cdb93e6091031 /build
parent46e3ea4e4179e5e2794d1a73dab9f64e6665c4e0 (diff)
downloadnextcloud-server-dd3d5829e73c90a9f3ee068ab103ed1b04f97e35.tar.gz
nextcloud-server-dd3d5829e73c90a9f3ee068ab103ed1b04f97e35.zip
This is not javascript
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/CommandLine.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/CommandLine.php b/build/integration/features/bootstrap/CommandLine.php
index d6e614be90f..46941025012 100644
--- a/build/integration/features/bootstrap/CommandLine.php
+++ b/build/integration/features/bootstrap/CommandLine.php
@@ -106,7 +106,7 @@ trait CommandLine {
$results = [];
// the exception text usually appears after an "[Exception"] row
foreach (explode("\n", $input) as $line) {
- if (strpos($line, $text) >= 0) {
+ if (strpos($line, $text) !== false) {
$results[] = $line;
}
}