fix(create): preserve mandatory --workspace preflight check
This commit is contained in:
@@ -85,7 +85,6 @@ if [ -n "$HERDR_SERVER_OPT" ]; then
|
|||||||
export HERDR_SESSION_NAME="$HERDR_SERVER_OPT"
|
export HERDR_SESSION_NAME="$HERDR_SERVER_OPT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
WORKSPACE="${WORKSPACE:-${WORKSPACE_ROOT:-$PWD}}"
|
|
||||||
|
|
||||||
# Preflight
|
# Preflight
|
||||||
[ -n "$WORKSPACE" ] || { echo "ERROR: --workspace required" >&2; usage; exit 2; }
|
[ -n "$WORKSPACE" ] || { echo "ERROR: --workspace required" >&2; usage; exit 2; }
|
||||||
|
|||||||
Reference in New Issue
Block a user