From f95b0ab738e0f18ed29bc7f444c11d3da6d78ccc Mon Sep 17 00:00:00 2001 From: David Hiendl Date: Sun, 3 Dec 2023 00:33:50 +0100 Subject: [PATCH] fix build_args truncating key --- dist/index.js | 2 +- src/lib.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 25dfe89..cd3eb0c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -62282,7 +62282,7 @@ function prepareDockerArgs(destinations) { .map(s => s.trim()) .map(s => { const equalIndex = s.indexOf('='); - const key = s.substring(0, equalIndex - 1); + const key = s.substring(0, equalIndex); const value = s.substring(equalIndex + 1); return { key, diff --git a/src/lib.js b/src/lib.js index 240ef07..59c9def 100644 --- a/src/lib.js +++ b/src/lib.js @@ -180,7 +180,7 @@ export function prepareDockerArgs(destinations) { .map(s => s.trim()) .map(s => { const equalIndex = s.indexOf('='); - const key = s.substring(0, equalIndex - 1); + const key = s.substring(0, equalIndex); const value = s.substring(equalIndex + 1); return { key,