mirror of https://github.com/zulip/zulip.git
build-docs: Fix shellcheck warnings.
In tools/build-docs line 3: cd "$(dirname "$0")"/../docs ^-- SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
b47b5c5309
commit
a5280d7d02
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
cd "$(dirname "$0")"/../docs
|
||||
rm -rf _build
|
||||
|
|
Loading…
Reference in New Issue