mirror of
https://github.com/actions/toolkit.git
synced 2026-08-29 00:00:23 +02:00
Apply linting
This commit is contained in:
@@ -99,7 +99,7 @@ export function exportVariable(name: string, val: any): void {
|
|||||||
export function setSecret(secret: string): void {
|
export function setSecret(secret: string): void {
|
||||||
for (const part of secret.split(/[\r\n]/)) {
|
for (const part of secret.split(/[\r\n]/)) {
|
||||||
if (part) {
|
if (part) {
|
||||||
issueCommand('add-mask', {}, part);
|
issueCommand('add-mask', {}, part)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user