fix(Shard): fix default args

This commit is contained in:
Lewdcario
2018-06-24 11:22:57 -05:00
parent ac0c15f7f1
commit 6b3bfdd7de

View File

@@ -34,13 +34,13 @@ class Shard extends EventEmitter {
* Arguments for the shard's process * Arguments for the shard's process
* @type {string[]} * @type {string[]}
*/ */
this.args = manager.args; this.args = manager.shardArgs || [];
/** /**
* Arguments for the shard's process executable * Arguments for the shard's process executable
* @type {string[]} * @type {string[]}
*/ */
this.execArgv = manager.execArgv; this.execArgv = manager.execArgv || [];
/** /**
* Environment variables for the shard's process * Environment variables for the shard's process