Skip to content

Commit

Permalink
Merge pull request #7 from stellarwp/prevent-creating-empty-dirs
Browse files Browse the repository at this point in the history
Prevent creating empty directories
  • Loading branch information
borkweb authored Sep 7, 2023
2 parents d575c5d + 04a51b1 commit 9364284
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Commands/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ protected function syncFiles( string $root, string $destination ): int {
}

if ( $item->isDir() ) {
$filesystem->mkdir( $destination . DIRECTORY_SEPARATOR . $path );
continue;
}

Expand Down

0 comments on commit 9364284

Please sign in to comment.