Skip to content

Commit 2c0dd2d

Browse files
FractalBoyJohnstonCode
authored andcommitted
fix: Fix cwd when running svn commands for remoteRepository (#738)
1 parent 4c9b377 commit 2c0dd2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/svnRepository.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ export class Repository {
6262
const result = await this.exec([
6363
"info",
6464
"--xml",
65-
fixPegRevision(this.workspaceRoot)
65+
fixPegRevision(this.workspaceRoot ? this.workspaceRoot : this.root)
6666
]);
67+
6768
this._info = await parseInfoXml(result.stdout);
6869
}
6970

0 commit comments

Comments
 (0)