Skip to content

Commit 5817d11

Browse files
[ci-app] use gitrepoinfo more safely
1 parent 6c4e45b commit 5817d11

File tree

1 file changed

+1
-1
lines changed
  • packages/dd-trace/src/plugins/util

1 file changed

+1
-1
lines changed

packages/dd-trace/src/plugins/util/git.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function getGitMetadata (ciMetadata) {
4242
branch: gitBranch,
4343
tag: gitTag,
4444
sha: gitCommitSHA
45-
} = getRepoInfo()
45+
} = getRepoInfo(process.cwd())
4646

4747
const { name: authorName, email: authorEmail } = parseUser(author)
4848
const { name: committerName, email: committerEmail } = parseUser(committer)

0 commit comments

Comments
 (0)