Skip to content

Commit

Permalink
chore: add typing for utility method
Browse files Browse the repository at this point in the history
  • Loading branch information
John van Leeuwen committed Sep 29, 2024
1 parent aae727f commit a13e098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/utils/git-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function parseBodyEntry(
}

// path.join replacement that does not depend on OS, and normalizes separators as used in a git log
function pathJoin(...args) {
function pathJoin(...args: string[]) {
return args.join('/').replace(/\/{2,}/g, '/').replace(/\/$/g, '');
}

Expand Down

0 comments on commit a13e098

Please sign in to comment.