[ticket/246] Exit with 1 if script encountered misspellings
B3P-246
This commit is contained in:
1 parent
51e6a6e9a8
commit
1ac06334b0
1 file changed
+6
@@ -110,3 +110,9 @@ if (PHP_SAPI == 'cli')
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo $output;
|
echo $output;
|
||||||
|
|
||||||
|
// Exit with 1 if script encountered issues
|
||||||
|
if (strlen($output) > 0)
|
||||||
|
{
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
Reference in new issue
Block a user