mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
fix(Shard): fix default args
This commit is contained in:
parent
ac0c15f7f1
commit
6b3bfdd7de
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue