Skip to content

Commit a386d6e

Browse files
committed
fixed folder path not being absolute
1 parent d4c2d1e commit a386d6e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ module.exports = class cDClient extends Client {
5555
let commands = [];
5656
let privateCommands = [];
5757

58-
const commandsPath = path.join(__dirname, folderPath);
58+
const commandsPath = folderPath;
5959
const commandFiles = readdirSync(commandsPath).filter((file) =>
6060
file.endsWith(".js")
6161
);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "djs-command-deployer",
3-
"version": "0.6.1",
3+
"version": "0.6.2",
44
"description": "",
55
"main": "./index.js",
66
"scripts": {},

0 commit comments

Comments
 (0)