debug: use clone instead of deepClone

#35525
This commit is contained in:
isidor 2017-10-03 16:14:24 +02:00
parent d28ace31aa
commit 039ee970ad
2 changed files with 2 additions and 2 deletions

View file

@ -502,7 +502,7 @@ class Launch implements ILaunch {
}
public resolveConfiguration(config: IConfig): TPromise<IConfig> {
const result = objects.deepClone(config) as IConfig;
const result = objects.clone(config) as IConfig;
// Set operating system specific properties #1873
const setOSProperties = (flag: boolean, osConfig: IEnvConfig) => {
if (flag && osConfig) {

View file

@ -210,7 +210,7 @@ export class Adapter {
};
properties['internalConsoleOptions'] = INTERNAL_CONSOLE_OPTIONS_SCHEMA;
const osProperties = objects.deepClone(properties);
const osProperties = objects.clone(properties);
properties['windows'] = {
type: 'object',
description: nls.localize('debugWindowsConfiguration', "Windows specific launch configuration attributes."),