Skip to content

Commit 955f131

Browse files
fix
1 parent 58ad6cb commit 955f131

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

scripts/build-scaffolds.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
13
import { getPathScaffolds } from './../src/graphql/scaffold/scaffold.service';
24
import { COMMUNITY } from '../src/constants';
35
import { getPaths } from '../src/graphql/get-paths/paths.service';

src/graphql/generate-code/generate-code.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { MEMENTO_RAZROO_ACCESS_TOKEN } from './../../constants';
21
import { URL_GRAPHQL, URL_PROD_GRAPHQL } from '../../graphql/awsConstants';
32
import { GenerateCodeParameters } from './../../interfaces/generate-code.interface';
43
import { GenerateVsCodeDownloadCode } from "./generate-code.mutations";

src/utils/webview-utils/getUri.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Uri, Webview } from "vscode";
2+
import * as path from 'path';
23

34
/**
45
* A helper function which will get the webview URI of a given file or resource.
@@ -12,5 +13,5 @@ import { Uri, Webview } from "vscode";
1213
* @returns A URI pointing to the file/resource
1314
*/
1415
export function getUri(webview: Webview, extensionUri: Uri, pathList: string[]) {
15-
return webview.asWebviewUri(Uri.joinPath(extensionUri, ...pathList));
16+
return webview.asWebviewUri(Uri.file(path.join(extensionUri.fsPath, ...pathList)));
1617
}

0 commit comments

Comments
 (0)