Skip to content

Commit

Permalink
Fix undesiable removing of library
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeidro committed Oct 22, 2024
1 parent 89b8baa commit f5762c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InstallerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function MoveFiles(Event $event) {
$destination = $root . '/tests/backstopjs/common/libraries/backstopjs-addons';

if (is_dir($destination)) {
self::deleteDirectoryContents($source, $destination);
self::deleteDirectoryContents($destination);
} else {
mkdir($destination, 0755, TRUE);
}
Expand Down

0 comments on commit f5762c1

Please sign in to comment.