use absolute path (#6483)

This commit is contained in:
Alan Ren
2019-07-23 21:26:01 -07:00
committed by GitHub
parent a1a67b1a86
commit 059e80003d
3 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ const localize = nls.loadMessageBundle();
export function activate(context: vscode.ExtensionContext) {
const platformService = new PlatformService();
const toolsService = new ToolsService();
const notebookService = new NotebookService(platformService);
const notebookService = new NotebookService(platformService, context.extensionPath);
const resourceTypeService = new ResourceTypeService(platformService, toolsService);
const resourceTypes = resourceTypeService.getResourceTypes();