Skip to content

Commit

Permalink
fix(cli): prevent production install on add cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
xstevenyung committed Oct 19, 2023
1 parent 3468c06 commit 5c1ac7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/cli/add/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ async function tryToInstallIntegrations({
...inheritedFlags,
...installCommand.dependencies,
],
{ cwd }
{ cwd, env: { NODE_ENV: 'development' } }
);
spinner.succeed();
return UpdateResult.updated;
Expand Down

0 comments on commit 5c1ac7c

Please sign in to comment.