reachable-watcher 1.0.119 → 1.0.120

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.119",
3
+ "version": "1.0.120",
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",
@@ -179,8 +179,8 @@ rw_is_status_valid() {
179
179
  return 0
180
180
  fi
181
181
  if \
182
- bl.array.contains "${valid_ok_codes[*]}" "$expected_status_code" &&
183
- bl.array.contains "${valid_ok_codes[*]}" "$given_status_code"
182
+ bl.array.contains "$expected_status_code" "${valid_ok_codes[@]}" &&
183
+ bl.array.contains "$given_status_code" "${valid_ok_codes[@]}"
184
184
  then
185
185
  return 0
186
186
  fi