Fix scan hits (#16788)

This commit is contained in:
Charles Gagnon
2021-08-16 12:59:18 -07:00
committed by GitHub
parent 455b3478c1
commit ecb5bb4ed8
3 changed files with 6 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ export class CmsUtils {
private _cmsService: mssql.ICmsService;
private _registeredCmsServers: ICmsResourceNodeInfo[] = [];
// [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Used for unit testing, not actual valid credential")]
public async savePassword(username: string, password: string): Promise<boolean> {
let provider = await this.credentialProvider();
let result = await provider.saveCredential(username, password);