From 0e893a9459e18fb0cf9c5f9b26ef437ce1842e5e Mon Sep 17 00:00:00 2001 From: matejkoncal <44922515+matejkoncal@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:16:06 +0100 Subject: [PATCH] chore: function name fixed --- packages/azure-func/src/executors/publish/executor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/azure-func/src/executors/publish/executor.ts b/packages/azure-func/src/executors/publish/executor.ts index f014e17..f6bac42 100644 --- a/packages/azure-func/src/executors/publish/executor.ts +++ b/packages/azure-func/src/executors/publish/executor.ts @@ -20,7 +20,7 @@ export default async function runPublishExecutor(options: PublishExecutorSchema, const buildOptions = getBuildOptions(buildTarget, options, context); const distDir = join(context.root, buildOptions.outputPath); - const npmResult = buildDependenciesInDist(distDir); + const npmResult = installDependenciesInDist(distDir); if (!npmResult.success) { return npmResult; @@ -40,7 +40,7 @@ export default async function runPublishExecutor(options: PublishExecutorSchema, return publishDist(distDir, azureAppName); } -function buildDependenciesInDist(distDir: string): { success: boolean } { +function installDependenciesInDist(distDir: string): { success: boolean } { return spawnSyncChecked('npm', ['install', '--omit=dev'], { cwd: distDir, stdio: 'inherit',