Skip to content

Commit

Permalink
Fix error messages for sql generation
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Jun 29, 2018
1 parent 9bd0989 commit 99592eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/generate_sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$ddl_output = [];
exec($ddl_cmd, $ddl_output, $return_var);
if ($return_var !== 0) {
echo 'Cannot generate ddl:' . implode(PHP_EOL . $ddl_output);
echo 'Cannot generate ddl:' . implode(PHP_EOL, $ddl_output);
exit(1);
}

Expand Down Expand Up @@ -59,7 +59,7 @@

exec($extra_cmd, $extra_output, $return_var);
if ($return_var !== 0) {
echo 'Cannot generate extras:' . implode(PHP_EOL . $extra_output);
echo 'Cannot generate extras:' . implode(PHP_EOL, $extra_output);
exit(1);
}

Expand Down

0 comments on commit 99592eb

Please sign in to comment.