mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 20:50:06 +00:00
fix(shell): suppress SC2016 in timeout perl fallback
This commit is contained in:
@@ -113,6 +113,7 @@ run_with_timeout() {
|
|||||||
if [[ "${MO_DEBUG:-0}" == "1" ]]; then
|
if [[ "${MO_DEBUG:-0}" == "1" ]]; then
|
||||||
echo "[TIMEOUT] Perl fallback, ${duration}s: $*" >&2
|
echo "[TIMEOUT] Perl fallback, ${duration}s: $*" >&2
|
||||||
fi
|
fi
|
||||||
|
# shellcheck disable=SC2016 # Embedded Perl uses Perl variables inside single quotes.
|
||||||
"$MO_TIMEOUT_PERL_BIN" -e '
|
"$MO_TIMEOUT_PERL_BIN" -e '
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|||||||
Reference in New Issue
Block a user