Fix incorrect development scenarios path

Co-authored-by: Charis Kyriakou <charisk@users.noreply.github.com>
This commit is contained in:
Koen Vlaswinkel
2022-10-21 14:12:35 +02:00
committed by GitHub
parent 7288712e47
commit 71b1b49502

View File

@@ -131,7 +131,7 @@ export class MockGitHubApiServer extends DisposableObject {
}
if (this.ctx.extensionMode === ExtensionMode.Development) {
const developmentScenariosPath = Uri.joinPath(this.ctx.extensionUri, 'src/mocks/scenarios').toString();
const developmentScenariosPath = Uri.joinPath(this.ctx.extensionUri, 'src/mocks/scenarios').fsPath.toString();
if (await fs.pathExists(developmentScenariosPath)) {
return developmentScenariosPath;
}