Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jellesiderius committed Jul 18, 2021
1 parent 7efc57f commit 84571a8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
6 changes: 6 additions & 0 deletions dist/mage-db-sync.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/mage-db-sync.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage-db-sync",
"version": "0.2.9",
"version": "0.3.0",
"description": "Database synchronizer for Magento, based on Magerun",
"author": {
"name": "Jelle Siderius"
Expand Down
8 changes: 8 additions & 0 deletions src/mage-db-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ getInstalledPath('mage-db-sync').then(async (path: any) => {
if (fs.existsSync(`${npmPath}/dist/controllers/importController.js.map`)) {
fs.unlinkSync(`${npmPath}/dist/controllers/importController.js.map`)
}

if (fs.existsSync(`${npmPath}/dist/commands/importCommand.js`)) {
fs.unlinkSync(`${npmPath}/dist/controllers/importCommand.js`)
}

if (fs.existsSync(`${npmPath}/dist/commands/importCommand.js.map`)) {
fs.unlinkSync(`${npmPath}/dist/controllers/importCommand.js.map`)
}
});

program
Expand Down

0 comments on commit 84571a8

Please sign in to comment.