Skip to content

Commit

Permalink
fix: splitted find&sed command
Browse files Browse the repository at this point in the history
  • Loading branch information
NazmiAltun committed Feb 21, 2022
1 parent a67d2b8 commit e6493a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fixCoveragePath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ const fixCoveragePath = async (scanParameters: ScanParameters): Promise<void> =>
`Fixing code coverage path by replacing ${scanParameters.coverageSolutionRootPath} with ${scanParameters.currentWorkingDir} `,
);
await execute(
`find ${scanParameters.testResultsPath} -name *.xml -prune -false -o -type f -exec
sed -i "s@${scanParameters.coverageSolutionRootPath}@${scanParameters.currentWorkingDir}@g" "{}" +`,
`find ${scanParameters.testResultsPath} -name *.xml -prune -false -o -type f -exec sed -i "s@${scanParameters.coverageSolutionRootPath}@${scanParameters.currentWorkingDir}@g" "{}" +`,
);
endGroup();
};
Expand Down

0 comments on commit e6493a4

Please sign in to comment.