Skip to content

Commit

Permalink
✨ feat: clean file path in handle Analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhonatanmizu committed May 31, 2024
1 parent 8138e45 commit d33a88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/analyze.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class AnalyzeService {
const testInfo = astService.getTestInfo(testAst);
return detectors.map((detector) => {
return {
file: tf,
file: helpers.getPathAfterPublic(tf),
type: detector.name.replace("detect", ""),
smells: detector(testAst),
info: testInfo,
Expand Down

0 comments on commit d33a88a

Please sign in to comment.