Skip to content

Commit

Permalink
MNT Remove TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Oct 10, 2023
1 parent 0acac2f commit a0e6cfd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Methods/CopyMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ public function exposeDirectory($source, $target)
$this->filesystem->removeDirectory($target);

// Copy to destination
if (!$this->copy($source, $target)) {
if (!$this->filesystem->copy($source, $target)) {
throw new RuntimeException("Could not write to directory $target");
}
}

/**
* Copies a file or directory from $source to $target.
*
* @todo Replace with `$this->filesystem->copy() once composer 1.6.0 is released
*
* @param string $source
* @param string $target
Expand Down

0 comments on commit a0e6cfd

Please sign in to comment.