Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Prettier auto-commit runs with GITHUB_TOKEN (GitHub App).
# GitHub blocks that token from creating/updating anything under .github/workflows.
.github/workflows/**

# Machine-generated by npm; its format is owned by npm, not Prettier.
# Prettier reformatting it fights npm and makes the auto-commit run fail.
package-lock.json
2 changes: 1 addition & 1 deletion lgsm/modules/alert_matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ matrixsend=$(curl --connect-timeout 10 -sSL -X PUT \
"${matrixurl}")
exitcode=$?

matrixeventid="$(echo "${matrixsend}" | jq -r '.event_id // empty' 2>/dev/null)"
matrixeventid="$(echo "${matrixsend}" | jq -r '.event_id // empty' 2> /dev/null)"
if [ "${exitcode}" -eq 0 ] && [ -n "${matrixeventid}" ]; then
fn_print_ok_nl "Sending Matrix alert"
fn_script_log_pass "Sending Matrix alert"
Expand Down
Loading