update sign codes (#234183)
This commit is contained in:
Родитель
f8cf9e65e6
Коммит
3175b54dd4
|
@ -105,6 +105,20 @@ function getParams(type) {
|
|||
toolName: 'sign',
|
||||
toolVersion: '1.0'
|
||||
}];
|
||||
case 'nuget':
|
||||
return [{
|
||||
keyCode: 'CP-401405',
|
||||
operationSetCode: 'NuGetSign',
|
||||
parameters: [],
|
||||
toolName: 'sign',
|
||||
toolVersion: '1.0'
|
||||
}, {
|
||||
keyCode: 'CP-401405',
|
||||
operationSetCode: 'NuGetVerify',
|
||||
parameters: [],
|
||||
toolName: 'sign',
|
||||
toolVersion: '1.0'
|
||||
}];
|
||||
default:
|
||||
throw new Error(`Sign type ${type} not found`);
|
||||
}
|
||||
|
|
|
@ -115,6 +115,20 @@ function getParams(type: string): Params[] {
|
|||
toolName: 'sign',
|
||||
toolVersion: '1.0'
|
||||
}];
|
||||
case 'nuget':
|
||||
return [{
|
||||
keyCode: 'CP-401405',
|
||||
operationSetCode: 'NuGetSign',
|
||||
parameters: [],
|
||||
toolName: 'sign',
|
||||
toolVersion: '1.0'
|
||||
}, {
|
||||
keyCode: 'CP-401405',
|
||||
operationSetCode: 'NuGetVerify',
|
||||
parameters: [],
|
||||
toolName: 'sign',
|
||||
toolVersion: '1.0'
|
||||
}];
|
||||
default:
|
||||
throw new Error(`Sign type ${type} not found`);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче