Skip to content

Commit

Permalink
✳ add --omit=dev into npm install on !updaterepo
Browse files Browse the repository at this point in the history
  • Loading branch information
idinium96 committed Jul 31, 2022
1 parent ff0eaf2 commit dbf7fb2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/classes/Commands/sub-classes/Manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,11 @@ export default class ManagerCommands {
);

this.bot.sendMessage(steamID, '⌛ Installing packages...');
await exec(`npm install${process.env.RUN_ON_ANDROID === 'true' ? ' --no-bin-links --force' : ''}`);
await exec(
`npm install${
process.env.RUN_ON_ANDROID === 'true' ? ' --no-bin-links --force' : ''
} --omit=dev`
);

this.bot.sendMessage(steamID, '⌛ Compiling TypeScript codes into JavaScript...');
await exec('npm run build');
Expand Down

0 comments on commit dbf7fb2

Please sign in to comment.