Skip to content

Commit

Permalink
Don't exit as that breaks the download
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-H committed Apr 20, 2021
1 parent 655df89 commit 1f6058a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _build/build.transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function getSnippetContent($path, $name, $debug = false) {
}
if (!defined('GAPI_CLIENT_ID')) {
echo "Missing GAPI_CLIENT_ID constant, make sure to provide a _build/build.config.php file based on the provided simple.\n";
exit(1);
return;
}

$modx->loadClass('transport.modPackageBuilder','',false, true);
Expand Down Expand Up @@ -180,4 +180,3 @@ function getSnippetContent($path, $name, $debug = false) {

$modx->log(modX::LOG_LEVEL_INFO,"\n<br />Package Built.<br />\nExecution time: {$totalTime}\n");

exit ();

0 comments on commit 1f6058a

Please sign in to comment.