reachable-watcher 1.0.112 → 1.0.113

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reachable-watcher",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "license": "CC-BY-3.0",
5
5
  "description": "Check status codes of web servers and sends notification e-mails",
6
6
  "homepage": "https://torben.website/reachable-watcher",
@@ -281,20 +281,22 @@ if bl.tools.is_main; then
281
281
  bl.exception.try
282
282
  rw.main "$@"
283
283
  bl.exception.catch_single
284
+ # region clean up
284
285
  {
285
- [ -d "$RW_BASHLINK_PATH" ] && \
286
- rm --recursive "$RW_BASHLINK_PATH"
286
+ [ -f "$BL_MODULE_NAME_RESOLVING_CACHE_FILE_PATH" ] && \
287
+ rm "$BL_MODULE_NAME_RESOLVING_CACHE_FILE_PATH"
287
288
  # shellcheck disable=SC2154
288
289
  [ -d "$BL_MODULE_REMOTE_MODULE_CACHE_PATH" ] && \
289
290
  rm --recursive "$BL_MODULE_REMOTE_MODULE_CACHE_PATH"
290
291
  # shellcheck disable=SC2154
291
292
  bl.logging.error "$BL_EXCEPTION_LAST_TRACEBACK"
292
293
  }
293
- [ -d "$RW_BASHLINK_PATH" ] && \
294
- rm --recursive "$RW_BASHLINK_PATH"
294
+ [ -f "$BL_MODULE_NAME_RESOLVING_CACHE_FILE_PATH" ] && \
295
+ rm "$BL_MODULE_NAME_RESOLVING_CACHE_FILE_PATH"
295
296
  # shellcheck disable=SC2154
296
297
  [ -d "$BL_MODULE_REMOTE_MODULE_CACHE_PATH" ] && \
297
298
  rm --recursive "$BL_MODULE_REMOTE_MODULE_CACHE_PATH"
299
+ # endregion
298
300
  fi
299
301
  # region vim modline
300
302
  # vim: set tabstop=4 shiftwidth=4 expandtab: