hyoo_sync_client 0.0.546 → 0.0.548

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.
package/node.mjs CHANGED
@@ -3213,7 +3213,8 @@ var $;
3213
3213
  stabilityThreshold: 100,
3214
3214
  },
3215
3215
  });
3216
- watcher.on('all', (type, path) => {
3216
+ watcher
3217
+ .on('all', (type, path) => {
3217
3218
  if (path instanceof Error) {
3218
3219
  this.$.$mol_fail_log(path);
3219
3220
  return;
@@ -3226,7 +3227,8 @@ var $;
3226
3227
  else {
3227
3228
  file.parent().reset();
3228
3229
  }
3229
- });
3230
+ })
3231
+ .on('error', $mol_fail_log);
3230
3232
  return {
3231
3233
  destructor() {
3232
3234
  watcher.close();
package/node.test.js CHANGED
@@ -3204,7 +3204,8 @@ var $;
3204
3204
  stabilityThreshold: 100,
3205
3205
  },
3206
3206
  });
3207
- watcher.on('all', (type, path) => {
3207
+ watcher
3208
+ .on('all', (type, path) => {
3208
3209
  if (path instanceof Error) {
3209
3210
  this.$.$mol_fail_log(path);
3210
3211
  return;
@@ -3217,7 +3218,8 @@ var $;
3217
3218
  else {
3218
3219
  file.parent().reset();
3219
3220
  }
3220
- });
3221
+ })
3222
+ .on('error', $mol_fail_log);
3221
3223
  return {
3222
3224
  destructor() {
3223
3225
  watcher.close();