fix: batch secret =

This commit is contained in:
Andras Bacsai 2022-08-23 08:57:15 +02:00
parent c46dc99224
commit 1c720d587c

View File

@ -43,7 +43,8 @@
const batchSecretsPairs = eachValuePair
.filter((secret) => !secret.startsWith('#') && secret)
.map((secret) => {
const [name, value] = secret.split('=');
const [name, ...rest] = secret.split('=');
const value = rest.join('=');
const cleanValue = value?.replaceAll('"', '') || '';
return {
name,