Skip to content

Commit bfcbe48

Browse files
Ray0907Copilot
andauthored
Update scripts/bash/setup-plan.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2aea108 commit bfcbe48

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/bash/setup-plan.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ eval $(get_feature_paths)
3434
check_feature_branch "$CURRENT_BRANCH" "$HAS_GIT" || exit 1
3535

3636
# Check if branch and spec directory are in sync
37-
check_and_fix_spec_directory_mismatch || exit 1
37+
check_and_fix_spec_directory_mismatch
38+
result=$?
39+
if [[ $result -ne 0 && $result -ne 1 ]]; then
40+
exit 1
41+
fi
3842

3943
# Ensure the feature directory exists
4044
mkdir -p "$FEATURE_DIR"

0 commit comments

Comments
 (0)