Skip to content

Commit

Permalink
Removed files from config export directory, fix #3287 (#3288)
Browse files Browse the repository at this point in the history
  • Loading branch information
g3r4 authored and jmolivas committed Apr 28, 2017
1 parent 102a2b6 commit 021cd5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Command/Config/ExportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
);
}

// Remove previous yaml files before creating new ones
array_map('unlink', glob($directory . '/*'));

if ($tar) {
$dateTime = new \DateTime();

Expand Down

0 comments on commit 021cd5d

Please sign in to comment.