Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

Commit

Permalink
Outputting a message when no archive is generated. (fixes #134)
Browse files Browse the repository at this point in the history
  • Loading branch information
kherge committed Mar 22, 2016
1 parent f837fb3 commit 0395261
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib/KevinGH/Box/Command/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
}

$this->putln('*', 'Done.');

if (!file_exists($path)) {
$output->writeln(
'<fg=yellow>The archive was not generated because it did not have any contents.</fg=yellow>'
);
}
}

/**
Expand Down

0 comments on commit 0395261

Please sign in to comment.