Skip to content

Commit 1a79b08

Browse files
authored
align importStrategy in typescript to python (#158)
1 parent 723f297 commit 1a79b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/settings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export async function getWorkspaceSettings(
6767
args: resolveVariables(config.get<string[]>(`args`) ?? [], workspace),
6868
path: resolveVariables(config.get<string[]>(`path`) ?? [], workspace),
6969
interpreter: resolveVariables(interpreter, workspace),
70-
importStrategy: config.get<string>(`importStrategy`) ?? 'fromEnvironment',
70+
importStrategy: config.get<string>(`importStrategy`) ?? 'useBundled',
7171
showNotifications: config.get<string>(`showNotifications`) ?? 'off',
7272
};
7373
return workspaceSetting;
@@ -95,7 +95,7 @@ export async function getGlobalSettings(namespace: string, includeInterpreter?:
9595
args: getGlobalValue<string[]>(config, 'args', []),
9696
path: getGlobalValue<string[]>(config, 'path', []),
9797
interpreter: interpreter,
98-
importStrategy: getGlobalValue<string>(config, 'importStrategy', 'fromEnvironment'),
98+
importStrategy: getGlobalValue<string>(config, 'importStrategy', 'useBundled'),
9999
showNotifications: getGlobalValue<string>(config, 'showNotifications', 'off'),
100100
};
101101
return setting;

0 commit comments

Comments
 (0)