Set working directory to plugin path

6392ac70749be68bfa48b49eb3850bfac621e976

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
plugins.js+1 -1
@@ -6,6 +6,7 @@ const fs = require('fs');
66const path = require('path');
77const { color } = require('./src/util');
88
9+process.chdir(__dirname);
910const pluginsPath = './plugins';
1011
1112const command = process.argv[2];
@@ -55,7 +56,6 @@ async function updatePlugins() {
5556 }
5657
5758 console.log(color.magenta('All plugins updated!'));
58-
5959}
6060
6161async function installPlugin(pluginName) {