Skip to content

Commit 64b8f23

Browse files
committed
fix: add shellcheck SC3012 disable for zsh-specific comparison
1 parent ae6a475 commit 64b8f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/assume

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ _is_assume_expired() {
119119
local curent_time expiry
120120
current_time="$(date -Iseconds)"
121121
expiry="$AWS_SESSION_EXPIRATION"
122-
# shellcheck disable=SC3010,SC3054 # Only used by zsh
122+
# shellcheck disable=SC3010,SC3012,SC3054 # Only used by zsh
123123
[[ "${current_time}" > "${expiry}" ]]
124124
}
125125

0 commit comments

Comments
 (0)