当我codacy-analysis-cli analyze
为下一行脚本运行命令时:
if [[ "$lexer_date" > "$lexer_ts_date" ]]; then
generate_grammar
fi
我收到了下一个警告:
Found [Warning] `In POSIX sh, [[ ]] is undefined.` in scripts/grammar.sh:20 (shellcheck_SC2039)
我该如何解决?
当我codacy-analysis-cli analyze
为下一行脚本运行命令时:
if [[ "$lexer_date" > "$lexer_ts_date" ]]; then
generate_grammar
fi
我收到了下一个警告:
Found [Warning] `In POSIX sh, [[ ]] is undefined.` in scripts/grammar.sh:20 (shellcheck_SC2039)
我该如何解决?