Skip to content

Commit 326d5bc

Browse files
committed
Move forward slash placement
1 parent 72f45a8 commit 326d5bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.circleci/collect_results.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121

2222
function get_source_file () {
2323
file_path="${RESULT_XML_FILE%%"/build"*}"
24-
file_path="${file_path/#"$WORKSPACE_DIR"\//}/src"
24+
file_path="/${file_path/#"$WORKSPACE_DIR"\//}/src"
2525
if ! [[ $RESULT_XML_FILE == *"#"* ]]; then
2626
class="${RESULT_XML_FILE%.xml}"
2727
class="${class##*"TEST-"}"
@@ -35,7 +35,7 @@ function get_source_file () {
3535
fi
3636
done
3737
done < <(grep -rl "class $class" "$file_path")
38-
file_path="/$common_root"
38+
file_path="$common_root"
3939
fi
4040
}
4141

0 commit comments

Comments
 (0)