mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-17 01:15:19 +00:00
fix: split by new line char
This commit is contained in:
@@ -162,7 +162,7 @@ export const prepareEnvironmentVariables = (env: string | null) =>
|
|||||||
Object.entries(parse(env ?? "")).map(([key, value]) => `${key}=${value}`);
|
Object.entries(parse(env ?? "")).map(([key, value]) => `${key}=${value}`);
|
||||||
|
|
||||||
export const prepareBuildArgs = (input: string | null) => {
|
export const prepareBuildArgs = (input: string | null) => {
|
||||||
const pairs = (input ?? "").split(" ");
|
const pairs = (input ?? "").split("\n");
|
||||||
|
|
||||||
const jsonObject: Record<string, string> = {};
|
const jsonObject: Record<string, string> = {};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user