Skip to content

Commit 3064463

Browse files
authored
Try setting resource uri instead of scope (microsoft#14672)
1 parent 2a6761d commit 3064463

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export async function updateSetting(
7979
configTarget: ConfigurationTarget
8080
) {
8181
const vscode = require('vscode') as typeof import('vscode');
82-
const settings = vscode.workspace.getConfiguration('python', resource || null);
82+
const settings = vscode.workspace.getConfiguration('python', { uri: resource, languageId: 'python' } || null);
8383
const currentValue = settings.inspect(setting);
8484
if (
8585
currentValue !== undefined &&

0 commit comments

Comments
 (0)