@bigbinary/eslint-plugin-neeto 1.1.39 → 1.1.40

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4274,14 +4274,16 @@
4274
4274
  var previousOptions = null;
4275
4275
  var watcher$1 = null;
4276
4276
  var watchTranslationsDir = function watchTranslationsDir(translationsDirPath) {
4277
- return watcher$1 = fs.watch(translationsDirPath, {
4278
- persistent: false
4279
- }, function (_, changedFileName) {
4280
- var lng = changedFileName.split(".")[0];
4281
- translationFiles = neetoCist.modifyBy({
4282
- lng: lng
4283
- }, ramda.assoc("content", _objectSpread$2(_objectSpread$2({}, parseJsonData(path$2.join(translationsDirPath, changedFileName))), nanosContent[lng])), translationFiles);
4284
- });
4277
+ try {
4278
+ watcher$1 = fs.watch(translationsDirPath, {
4279
+ persistent: false
4280
+ }, function (_, changedFileName) {
4281
+ var lng = changedFileName.split(".")[0];
4282
+ translationFiles = neetoCist.modifyBy({
4283
+ lng: lng
4284
+ }, ramda.assoc("content", _objectSpread$2(_objectSpread$2({}, parseJsonData(path$2.join(translationsDirPath, changedFileName))), nanosContent[lng])), translationFiles);
4285
+ });
4286
+ } catch (_unused) {}
4285
4287
  };
4286
4288
  var checkAndReport$4 = function checkAndReport(_ref) {
4287
4289
  var _config$context, _config$count;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/eslint-plugin-neeto",
3
- "version": "1.1.39",
3
+ "version": "1.1.40",
4
4
  "main": "dist/index.js",
5
5
  "license": "UNLICENSED",
6
6
  "scripts": {