Skip to content

Commit 039ee97

Browse files
committed
debug: use clone instead of deepClone
microsoft#35525
1 parent d28ace3 commit 039ee97

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ class Launch implements ILaunch {
502502
}
503503

504504
public resolveConfiguration(config: IConfig): TPromise<IConfig> {
505-
const result = objects.deepClone(config) as IConfig;
505+
const result = objects.clone(config) as IConfig;
506506
// Set operating system specific properties #1873
507507
const setOSProperties = (flag: boolean, osConfig: IEnvConfig) => {
508508
if (flag && osConfig) {

src/vs/workbench/parts/debug/node/debugAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export class Adapter {
210210
};
211211
properties['internalConsoleOptions'] = INTERNAL_CONSOLE_OPTIONS_SCHEMA;
212212

213-
const osProperties = objects.deepClone(properties);
213+
const osProperties = objects.clone(properties);
214214
properties['windows'] = {
215215
type: 'object',
216216
description: nls.localize('debugWindowsConfiguration', "Windows specific launch configuration attributes."),

0 commit comments

Comments
 (0)