Skip to content

Commit

Permalink
only cleanup after module fix if not resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
smxsm committed Oct 8, 2018
1 parent 400e882 commit f54d107
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# OXRUN CHANGELOG

## v0.6.3

* only cleanup after module fix if not resetting

## v0.6.2

* OXID 6 compat improved
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "smxsm/oxrun",
"description": "Oxrun provides a cli toolset for the OXID eShop Community Edition",
"license": "MIT",
"version": "v0.6.2",
"version": "v0.6.3",
"support": {
"issues": "https://github.com/marcharding/oxrun/issues"
},
Expand Down
Binary file modified oxrun.phar
Binary file not shown.
5 changes: 4 additions & 1 deletion src/Oxrun/Command/Module/FixCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ protected function execute(InputInterface $input, OutputInterface $output)
exit(1);
}
}
$this->cleanup($oConfig, $oDebugOutput);
// only cleanup if not resetting
if (!$input->getOption('reset')) {
$this->cleanup($oConfig, $oDebugOutput);
}
}

$output->writeLn("<info>Modules fixed</info>");
Expand Down

0 comments on commit f54d107

Please sign in to comment.