Commit 93b12aa5 authored by rohieb's avatar rohieb
Browse files

index.php: don't throw your arms in the air when the output is an array

parent da791c28
......@@ -109,7 +109,7 @@ putenv('LC_ALL=en_US.UTF-8');
exec('bundle exec rake generate 2>&1', $output, $ret);
$OUTPUT = implode("\n", $output);
if ($ret != 0 or strpos($output, "error") !== FALSE) {
if ($ret != 0 or strpos($OUTPUT, "error") !== FALSE) {
echo "build error (rake returned $ret), output:\n\n";
echo var_export($output, true);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment