fix: batch secret =
This commit is contained in:
parent
c46dc99224
commit
1c720d587c
1 changed files with 2 additions and 1 deletions
|
|
@ -43,7 +43,8 @@
|
||||||
const batchSecretsPairs = eachValuePair
|
const batchSecretsPairs = eachValuePair
|
||||||
.filter((secret) => !secret.startsWith('#') && secret)
|
.filter((secret) => !secret.startsWith('#') && secret)
|
||||||
.map((secret) => {
|
.map((secret) => {
|
||||||
const [name, value] = secret.split('=');
|
const [name, ...rest] = secret.split('=');
|
||||||
|
const value = rest.join('=');
|
||||||
const cleanValue = value?.replaceAll('"', '') || '';
|
const cleanValue = value?.replaceAll('"', '') || '';
|
||||||
return {
|
return {
|
||||||
name,
|
name,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue