make addplugin async

This commit is contained in:
Kenny 2022-05-31 10:01:40 -04:00 committed by Alex
parent 447a4a256d
commit a038696c6f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ const module = {
}),
addPlugin(content) {
async addPlugin(content) {
await ensureStructure();
new Promise(async (resolve, reject) => {
const fileName = require("./utils").getCpn(); // Im not sure what this is actually meant for but im using it as a random string generator