mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-02 18:22:16 +00:00
refactor: remove outdated comment in railpack command builder
- Removed a comment regarding the use of shell-quote for escaping export statements, as the functionality is now handled by the `prepareEnvironmentVariablesForShell` function introduced in a previous commit.
This commit is contained in:
@@ -76,7 +76,6 @@ export const getRailpackCommand = (application: ApplicationNested) => {
|
|||||||
const [key, value] = parseEnvironmentKeyValuePair(pair);
|
const [key, value] = parseEnvironmentKeyValuePair(pair);
|
||||||
if (key && value) {
|
if (key && value) {
|
||||||
buildArgs.push("--secret", `id=${key},env=${key}`);
|
buildArgs.push("--secret", `id=${key},env=${key}`);
|
||||||
// Use shell-quote to properly escape the export statement
|
|
||||||
exportEnvs.push(`export ${key}=${quote([value])}`);
|
exportEnvs.push(`export ${key}=${quote([value])}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user