mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
fix(Shard): fix default args
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user