mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Disable SC2001 shellcheck in docker/test/fuzzer/run-fuzzer.sh
This commit is contained in:
parent
887ac96a19
commit
4cbc1aba19
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# shellcheck disable=SC2086
|
||||
# shellcheck disable=SC2086,SC2001
|
||||
|
||||
set -eux
|
||||
set -o pipefail
|
||||
@ -76,6 +76,9 @@ function filter_exists_and_template
|
||||
local path
|
||||
for path in "$@"; do
|
||||
if [ -e "$path" ]; then
|
||||
# SC2001 shellcheck suggests:
|
||||
# echo ${path//.sql.j2/.gen.sql}
|
||||
# but it doesn't allow to use regex
|
||||
echo "$path" | sed 's/\.sql\.j2$/.gen.sql/'
|
||||
else
|
||||
echo "'$path' does not exists" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user