Skip to content

Commit 5594cf9

Browse files
authored
Merge branch 'master' into feature/workspace-symbols-change
2 parents d5e19e6 + de76266 commit 5594cf9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/assets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ async function addLaunchJsonIfNecessary(generator: AssetGenerator, operations: O
450450
}
451451

452452
// Read existing launch configuration
453-
const launchConfigs = vscode.workspace.getConfiguration('launch');
453+
const launchConfigs = vscode.workspace.getConfiguration('launch', null);
454454
let existingLaunchConfigs = launchConfigs.get<{}[]>('configurations');
455455

456456
const isWebProject = generator.hasWebServerDependency();

src/omnisharp/launcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ export async function launchOmniSharp(cwd: string, args: string[], launchInfo: L
243243

244244
async function launch(cwd: string, args: string[], launchInfo: LaunchInfo, platformInfo: PlatformInformation, options: Options, monoResolver: IMonoResolver): Promise<LaunchResult> {
245245
if (options.useEditorFormattingSettings) {
246-
let globalConfig = vscode.workspace.getConfiguration();
247-
let csharpConfig = vscode.workspace.getConfiguration('[csharp]');
246+
let globalConfig = vscode.workspace.getConfiguration('', null);
247+
let csharpConfig = vscode.workspace.getConfiguration('[csharp]', null);
248248

249249
args.push(`formattingOptions:useTabs=${!getConfigurationValue(globalConfig, csharpConfig, 'editor.insertSpaces', true)}`);
250250
args.push(`formattingOptions:tabSize=${getConfigurationValue(globalConfig, csharpConfig, 'editor.tabSize', 4)}`);

0 commit comments

Comments
 (0)