mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 10:03:56 +00:00
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:
committed by
Tim Abbott
parent
b47b5c5309
commit
a5280d7d02
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
cd "$(dirname "$0")"/../docs
|
||||
rm -rf _build
|
||||
|
||||
Reference in New Issue
Block a user