import { ExtensionContext } from 'vscode' ; const EXTENSION_EXECUTION_CONTEXT = { Local : 1 , Remote : 2 , } ; export function isExtensionRunningLocally ( context ) { const executionContext = ( context as any ) . executionContext || EXTENSION_EXECUTION_CONTEXT . Local ; return executionContext === EXTENSION_EXECUTION_CONTEXT . Local ; }