Skip to content

Commit a96c7d0

Browse files
Move SCRIPTS_DIR inside the "scripts" namespace.
1 parent c3c2423 commit a96c7d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/client/common/process/internal.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ import * as path from 'path';
55
import { EXTENSION_ROOT_DIR } from '../constants';
66
import { PythonVersionInfo } from './types';
77

8-
// It is simpler to hard-code it instead of using vscode.ExtensionContext.extensionPath.
9-
const SCRIPTS_DIR = path.join(EXTENSION_ROOT_DIR, 'pythonFiles');
10-
118
/****************************
129
* The following namespaces cover the following:
1310
*
@@ -39,6 +36,9 @@ const SCRIPTS_DIR = path.join(EXTENSION_ROOT_DIR, 'pythonFiles');
3936
// * install_debugpy.py (used only for extension development)
4037
// * ptvsd_launcher.py (used only for the old debug adapter)
4138
export namespace scripts {
39+
// It is simpler to hard-code it instead of using vscode.ExtensionContext.extensionPath.
40+
const SCRIPTS_DIR = path.join(EXTENSION_ROOT_DIR, 'pythonFiles');
41+
4242
//============================
4343
// interpreterInfo.py
4444

0 commit comments

Comments
 (0)