Skip to content

Commit

Permalink
fix(Shard): fix default args
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewdcario committed Jun 25, 2018
1 parent ac0c15f commit 6b3bfdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sharding/Shard.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ class Shard extends EventEmitter {
* Arguments for the shard's process
* @type {string[]}
*/
this.args = manager.args;
this.args = manager.shardArgs || [];

/**
* Arguments for the shard's process executable
* @type {string[]}
*/
this.execArgv = manager.execArgv;
this.execArgv = manager.execArgv || [];

/**
* Environment variables for the shard's process
Expand Down

0 comments on commit 6b3bfdd

Please sign in to comment.