mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Remove usage of path.join for version export
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
Client: require('./client/Client'),
|
||||
Shard: require('./sharding/Shard'),
|
||||
@@ -31,5 +29,5 @@ module.exports = {
|
||||
User: require('./structures/User'),
|
||||
VoiceChannel: require('./structures/VoiceChannel'),
|
||||
|
||||
version: require(path.join(__dirname, '..', 'package')).version,
|
||||
version: require('../package').version,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user