mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +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