mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
Remove usage of path.join for version export
This commit is contained in:
parent
5997aecc22
commit
b396d15b37
1 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue