Skip to content

Commit

Permalink
resolved comment
Browse files Browse the repository at this point in the history
  • Loading branch information
KutluOzel-b committed Apr 9, 2024
1 parent 4ee00c3 commit c64a4ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jest.mock("../services/copybook/CopybookMessageHandler", () => ({

const context: any = {
subscriptions: [],
globalStorageUri: { path: "/storagePath" },
};
Utils.getExtensionFolder = jest.fn().mockReturnValue(__dirname);

Expand Down
2 changes: 1 addition & 1 deletion clients/cobol-lsp-vscode-extension/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export async function activate(
context: vscode.ExtensionContext,
): Promise<__ExtensionApi & __AnalysisApi> {
DialectRegistry.clear();
Utils.setExtensionFolder(context.extensionPath);
Utils.setExtensionFolder(context.globalStorageUri.path);
const { copyBooksDownloader, configurationWatcher } = initialize();
initSmartTab(context);

Expand Down

0 comments on commit c64a4ff

Please sign in to comment.