Skip to content

Commit

Permalink
🔀 Merge pull request #1268 from TF2Autobot/updaterepo-omit-dev
Browse files Browse the repository at this point in the history
🔄 Update `!updaterepo` command
  • Loading branch information
idinium96 authored Jul 31, 2022
2 parents ff0eaf2 + dbf7fb2 commit 2815612
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 2815612

Please sign in to comment.