Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Charlie authored Jun 1, 2020
1 parent d4d8ef4 commit 597d65f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/ImportExport/Model/Export/Adapter/Csv.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public function destruct()
*/
private function resolveDestination(): void
{
// only temporary file located directly in var folder
if (strpos($this->_destination, '/') === false) {
$this->_directoryHandle->delete($this->_destination);
}
Expand Down

0 comments on commit 597d65f

Please sign in to comment.