Skip to content

Commit b6912ab

Browse files
committed
fix: normalize feature metadata paths with pwd -P
1 parent bf18024 commit b6912ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/bash/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ feature_json_matches_feature_dir() {
200200
[[ -d "$_fd" ]] || return 1
201201

202202
local norm_json norm_active
203-
norm_json="$(cd -- "$_fd" 2>/dev/null && pwd)" || return 1
204-
norm_active="$(cd -- "$active_feature_dir" 2>/dev/null && pwd)" || return 1
203+
norm_json="$(cd -- "$_fd" 2>/dev/null && pwd -P)" || return 1
204+
norm_active="$(cd -- "$active_feature_dir" 2>/dev/null && pwd -P)" || return 1
205205

206206
[[ "$norm_json" == "$norm_active" ]]
207207
}

0 commit comments

Comments
 (0)