We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2aea108 commit bfcbe48Copy full SHA for bfcbe48
scripts/bash/setup-plan.sh
@@ -34,7 +34,11 @@ eval $(get_feature_paths)
34
check_feature_branch "$CURRENT_BRANCH" "$HAS_GIT" || exit 1
35
36
# Check if branch and spec directory are in sync
37
-check_and_fix_spec_directory_mismatch || exit 1
+check_and_fix_spec_directory_mismatch
38
+result=$?
39
+if [[ $result -ne 0 && $result -ne 1 ]]; then
40
+ exit 1
41
+fi
42
43
# Ensure the feature directory exists
44
mkdir -p "$FEATURE_DIR"
0 commit comments