File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ jobs:
167167 if module_prefix=$(go list -m 2>/dev/null); then
168168 echo "Found module prefix: $module_prefix"
169169 # Replace the full module path with relative path from repo root
170- sed -i "s|${module_prefix}/||g" "../ $coverage_file"
170+ sed -i "s|${module_prefix}/||g" "$coverage_file"
171171 echo "Fixed paths: replaced '${module_prefix}/' with relative paths"
172172 else
173173 echo "Could not determine module name with 'go list -m', trying go.mod file"
@@ -176,7 +176,7 @@ jobs:
176176 echo "Found module prefix from go.mod: $module_prefix"
177177 if [ -n "$module_prefix" ]; then
178178 # Replace the full module path with relative path from repo root
179- sed -i "s|${module_prefix}/||g" "../ $coverage_file"
179+ sed -i "s|${module_prefix}/||g" "$coverage_file"
180180 echo "Fixed paths: replaced '${module_prefix}/' with relative paths"
181181 fi
182182 else
You can’t perform that action at this time.
0 commit comments