提交 36b69d1d 编写于 作者: I isidor

debug: duplicate contributed attributes should be marked as errors.

上级 ccf58bd8
......@@ -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];
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册