mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-14 18:13:45 +00:00
Don't include carriage return characters in masking
This commit is contained in:
parent
706b2693c9
commit
9812a558e4
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ async function exportSecrets() {
|
||||||
if (cachedResponse) {
|
if (cachedResponse) {
|
||||||
core.debug('ℹ using cached response');
|
core.debug('ℹ using cached response');
|
||||||
}
|
}
|
||||||
for (const line of value.split('\n')) {
|
for (const line of value.replace(/\r/g, '').split('\n')) {
|
||||||
if (line.length > 0) {
|
if (line.length > 0) {
|
||||||
command.issue('add-mask', line);
|
command.issue('add-mask', line);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue