Skip to content

Commit

Permalink
chore: function name fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkoncal authored Feb 27, 2024
1 parent 94eeb04 commit 0e893a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/azure-func/src/executors/publish/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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',
Expand Down

0 comments on commit 0e893a9

Please sign in to comment.