Skip to content

Commit

Permalink
Merge pull request #14 from ensi-platform/cloudtech-23
Browse files Browse the repository at this point in the history
CLOUDTECH-23
  • Loading branch information
MsNatali authored Nov 14, 2024
2 parents ecb7114 + 0311d09 commit 1841c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/GenerateClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private function copyLicenseToClientPackage(): void
$source = !is_null($externalSource) && file_exists($externalSource) ? $externalSource : $internalSource;

$dest = $this->outputDir . DIRECTORY_SEPARATOR . 'LICENSE.md';
if (!file_exists($dest) && file_exists($source)) {
if (!file_exists($dest) && file_exists($source) && filesize($source) > 0) {
copy($source, $dest);
$this->info("Template LICENSE.md copied to package");
}
Expand Down

0 comments on commit 1841c71

Please sign in to comment.