Skip to content

Commit

Permalink
fix: Fix cwd when running svn commands for remoteRepository (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
FractalBoy authored and JohnstonCode committed Nov 14, 2019
1 parent 4c9b377 commit 2c0dd2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/svnRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ export class Repository {
const result = await this.exec([
"info",
"--xml",
fixPegRevision(this.workspaceRoot)
fixPegRevision(this.workspaceRoot ? this.workspaceRoot : this.root)
]);

this._info = await parseInfoXml(result.stdout);
}

Expand Down

0 comments on commit 2c0dd2d

Please sign in to comment.