From 36b69d1d7ad31ec4c560080f5a6e63ddd9659c70 Mon Sep 17 00:00:00 2001 From: isidor Date: Wed, 9 Dec 2015 15:48:36 +0100 Subject: [PATCH] debug: duplicate contributed attributes should be marked as errors. --- src/vs/workbench/parts/debug/node/debugConfigurationManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts b/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts index 7ac928392c6..09816a07189 100644 --- a/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts +++ b/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts @@ -179,7 +179,7 @@ export class ConfigurationManager { } else if (duplicate[attribute] && attribute !== 'type') { // Give priority to the later registered extension. duplicate[attribute] = adapter[attribute]; - extension.collector.warn(nls.localize('duplicateDebuggerType', "Debug type '{0}' is already registered and has attribute '{1}', ignoring attribute '{1}'.", adapter.type, attribute)); + extension.collector.error(nls.localize('duplicateDebuggerType', "Debug type '{0}' is already registered and has attribute '{1}', ignoring attribute '{1}'.", adapter.type, attribute)); } else { duplicate[attribute] = adapter[attribute]; } -- GitLab