mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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
|
||||
* @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
|
||||
|
||||
Reference in New Issue
Block a user