mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 13:32:04 +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 = {
|
module.exports = {
|
||||||
Client: require('./client/Client'),
|
Client: require('./client/Client'),
|
||||||
Shard: require('./sharding/Shard'),
|
Shard: require('./sharding/Shard'),
|
||||||
|
|
@ -31,5 +29,5 @@ module.exports = {
|
||||||
User: require('./structures/User'),
|
User: require('./structures/User'),
|
||||||
VoiceChannel: require('./structures/VoiceChannel'),
|
VoiceChannel: require('./structures/VoiceChannel'),
|
||||||
|
|
||||||
version: require(path.join(__dirname, '..', 'package')).version,
|
version: require('../package').version,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue