Skip to content

Commit 84571a8

Browse files
committed
Release 0.3.0
1 parent 7efc57f commit 84571a8

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

dist/mage-db-sync.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mage-db-sync.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mage-db-sync",
3-
"version": "0.2.9",
3+
"version": "0.3.0",
44
"description": "Database synchronizer for Magento, based on Magerun",
55
"author": {
66
"name": "Jelle Siderius"

src/mage-db-sync.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ getInstalledPath('mage-db-sync').then(async (path: any) => {
5151
if (fs.existsSync(`${npmPath}/dist/controllers/importController.js.map`)) {
5252
fs.unlinkSync(`${npmPath}/dist/controllers/importController.js.map`)
5353
}
54+
55+
if (fs.existsSync(`${npmPath}/dist/commands/importCommand.js`)) {
56+
fs.unlinkSync(`${npmPath}/dist/controllers/importCommand.js`)
57+
}
58+
59+
if (fs.existsSync(`${npmPath}/dist/commands/importCommand.js.map`)) {
60+
fs.unlinkSync(`${npmPath}/dist/controllers/importCommand.js.map`)
61+
}
5462
});
5563

5664
program

0 commit comments

Comments
 (0)