diff --git a/src/routes/(console)/project-[region]-[project]/functions/create-function/deploy/+page.svelte b/src/routes/(console)/project-[region]-[project]/functions/create-function/deploy/+page.svelte index 0f01360e7..c15b86703 100644 --- a/src/routes/(console)/project-[region]-[project]/functions/create-function/deploy/+page.svelte +++ b/src/routes/(console)/project-[region]-[project]/functions/create-function/deploy/+page.svelte @@ -38,7 +38,7 @@ let id = ''; let runtime: Runtime; let entrypoint = ''; - let buildCommand = ''; // This is the install command in the UI + let installCommand = ''; let rootDir = './'; let variables: Array<{ key: string; value: string; secret: boolean }> = []; let specification = ''; @@ -68,7 +68,7 @@ // Build configuration - use from URL params or defaults entrypoint = page.url.searchParams.get('entrypoint') || ''; - buildCommand = page.url.searchParams.get('install') || ''; // Using 'install' param for consistency with sites + installCommand = page.url.searchParams.get('install') || ''; // Using 'install' param for consistency with sites rootDir = page.url.searchParams.get('rootDir') || './'; // Set default specification @@ -134,7 +134,7 @@ undefined, // enabled undefined, // logging entrypoint || undefined, - buildCommand || undefined, // This is the commands parameter + installCommand || undefined, // This is the commands parameter selectedScopes?.length ? selectedScopes : undefined, undefined, // installationId - will be null for repo deployments without VCS undefined, // repositoryId @@ -286,9 +286,9 @@ placeholder="e.g., index.js, main.py" />