Finschia / cosmwasm

Fast and reusable WebAssembly smart contract runtime(and library) for finschia-sdk.
Apache License 2.0
27 stars 14 forks source link

ci: fix shellcheck failure #119

Closed whylee259 closed 3 years ago

whylee259 commented 3 years ago

Closes: #XXX

Description

When run shellcheck CLI, some issue are raised.

docker run --rm -v $(pwd)/devtools:/devtools koalaman/shellcheck  /devtools/generate_changelog.sh

In /devtools/generate_changelog.sh line 11:
if ! command -v git-chglog &>/dev/null; then
                           ^---------^ SC3020: In POSIX sh, &> is undefined.

In /devtools/generate_changelog.sh line 12:
  if command -v docker &>/dev/null; then
                       ^---------^ SC3020: In POSIX sh, &> is undefined.

this pr fixes the above issues.

Motivation and context

How has this been tested?

Checklist: