Skip to content

Commit

Permalink
use recommended prune flag and suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdml committed Dec 8, 2023
1 parent 4f34dae commit c43d2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloud-cli/applications/deploy-app-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export async function deployAppCode(appName: string, host: string, port: string)
return 1;
}

execSync(`npm prune --production node_modules/* `);
execSync(`npm prune --omit=dev node_modules/* `);
execSync(`zip -ry ${deployDirectoryName}/${appName}.zip ./* -x ${deployDirectoryName}/* ${dbosConfigFilePath} > /dev/null`);
execSync(`zip -j ${deployDirectoryName}/${appName}.zip ${deployDirectoryName}/${dbosConfigFilePath} > /dev/null`);

Expand Down

0 comments on commit c43d2ab

Please sign in to comment.