提交 0766e19a 编写于 作者: A Alex Ross

Fix bad setting of configurationProperties on tasks

Fixes #65263
上级 b6096231
......@@ -1332,7 +1332,7 @@ namespace ConfiguringTask {
);
let configuration = ConfigurationProperties.from(external, context, true);
if (configuration) {
result.configurationProperties = Objects.assign(result, configuration);
result.configurationProperties = Objects.assign(result.configurationProperties, configuration);
if (result.configurationProperties.name) {
result._label = result.configurationProperties.name;
} else {
......@@ -1394,7 +1394,7 @@ namespace CustomTask {
);
let configuration = ConfigurationProperties.from(external, context, false);
if (configuration) {
result.configurationProperties = Objects.assign(result, configuration);
result.configurationProperties = Objects.assign(result.configurationProperties, configuration);
}
let supportLegacy: boolean = true; //context.schemaVersion === Tasks.JsonSchemaVersion.V2_0_0;
if (supportLegacy) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册