fix build_args truncating key
This commit is contained in:
parent
bedcf121ad
commit
f95b0ab738
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -62282,7 +62282,7 @@ function prepareDockerArgs(destinations) {
|
|||||||
.map(s => s.trim())
|
.map(s => s.trim())
|
||||||
.map(s => {
|
.map(s => {
|
||||||
const equalIndex = s.indexOf('=');
|
const equalIndex = s.indexOf('=');
|
||||||
const key = s.substring(0, equalIndex - 1);
|
const key = s.substring(0, equalIndex);
|
||||||
const value = s.substring(equalIndex + 1);
|
const value = s.substring(equalIndex + 1);
|
||||||
return {
|
return {
|
||||||
key,
|
key,
|
||||||
|
|||||||
@ -180,7 +180,7 @@ export function prepareDockerArgs(destinations) {
|
|||||||
.map(s => s.trim())
|
.map(s => s.trim())
|
||||||
.map(s => {
|
.map(s => {
|
||||||
const equalIndex = s.indexOf('=');
|
const equalIndex = s.indexOf('=');
|
||||||
const key = s.substring(0, equalIndex - 1);
|
const key = s.substring(0, equalIndex);
|
||||||
const value = s.substring(equalIndex + 1);
|
const value = s.substring(equalIndex + 1);
|
||||||
return {
|
return {
|
||||||
key,
|
key,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user