1
0
Fork 0

Apply linting

pull/1427/head
Francesco Renzi 2023-05-23 13:45:22 +01:00
parent 9fccf58073
commit 38e6785d19
1 changed files with 6 additions and 6 deletions

View File

@ -93,15 +93,15 @@ export function exportVariable(name: string, val: any): void {
}
/**
* Registers a secret which will get masked from logs
* @param secret value of the secret
*/
* Registers a secret which will get masked from logs
* @param secret value of the secret
*/
export function setSecret(secret: string): void {
secret.split(/[\r\n]/).forEach(part => {
for (const part of secret.split(/[\r\n]/)) {
if (part) {
issueCommand('add-mask', {}, part)
issueCommand('add-mask', {}, part);
}
})
}
}
/**