Skip to content

Commit 81b8437

Browse files
committed
updates & fixes
1 parent 3dbd804 commit 81b8437

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

commands/chrome-system-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LARAVELCHROMEDRIVER=`$(pwd)/vendor/laravel/dusk/bin/chromedriver-linux --version
1313
echo ${LARAVELCHROMEDRIVER}
1414
php /usr/bin/dusk-versions-check.php ${SYSTEMCHROME} ${SYSTEMCHROMEDRIVER} ${LARAVELCHROMEDRIVER} 1
1515
COMPATIBLE=`php /usr/bin/dusk-versions-check.php ${SYSTEMCHROME} ${SYSTEMCHROMEDRIVER} ${LARAVELCHROMEDRIVER} 0`
16-
print "${COMPATIBLE}"
16+
print "DEBUG: ${COMPATIBLE}"
1717
if ["${COMPATIBLE}" == "INCOMPATIBLE"]; then
1818
printf "${GREEN}Starting system Chromedriver (${SYSTEMCHROMEDRIVER}).\n"
1919
source start-chromedriver

commands/dusk-versions-check.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
print $yellow."You can read more, about running tests with systems inbuilt chromedriver in laravel-dusk-ci docs.".PHP_EOL;
3535
}
3636
print $nocolor;
37-
} else {
38-
print ($compatible?"OK":"INCOMPATIBLE");
3937
}
38+
print ($compatible?"OK":"INCOMPATIBLE");
39+
4040

0 commit comments

Comments
 (0)