mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add support for low-privileged user to run spark notebooks (#12883)
* Add support for low-privileged user to run spark notebooks * error * fix test
This commit is contained in:
14
extensions/notebook/src/common/extensionContextHelper.ts
Normal file
14
extensions/notebook/src/common/extensionContextHelper.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
|
||||
export class ExtensionContextHelper {
|
||||
public static extensionContext: vscode.ExtensionContext;
|
||||
|
||||
public static setExtensionContext(extensionContext: vscode.ExtensionContext) {
|
||||
ExtensionContextHelper.extensionContext = extensionContext;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user