gg-mysql-connector 1.0.61 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -177,10 +177,10 @@ class MyDBMigrator {
177
177
  .finally(() => {
178
178
  console.log("");
179
179
  });
180
- if (loopCount > viewModel.length * 5) {
181
- console.log("error while updating view, reason is loop update counter is over 5 time fail");
182
- process.exit(1);
183
- }
180
+ }
181
+ if (loopCount > viewModel.length * 5) {
182
+ console.error("error while updating view, reason is loop update counter is over 5 time fail");
183
+ process.exit(1);
184
184
  }
185
185
  loopCount++;
186
186
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gg-mysql-connector",
3
- "version": "1.0.61",
3
+ "version": "1.0.64",
4
4
  "description": "",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {
@@ -282,13 +282,12 @@ export default class MyDBMigrator {
282
282
  .finally(() => {
283
283
  console.log("")
284
284
  })
285
-
286
- if (loopCount > viewModel.length * 5) {
287
- console.log(
288
- "error while updating view, reason is loop update counter is over 5 time fail"
289
- )
290
- process.exit(1)
291
- }
285
+ }
286
+ if (loopCount > viewModel.length * 5) {
287
+ console.error(
288
+ "error while updating view, reason is loop update counter is over 5 time fail"
289
+ )
290
+ process.exit(1)
292
291
  }
293
292
  loopCount++
294
293
  }