From a038696c6f2793115048e0c76ba33f0ee732d132 Mon Sep 17 00:00:00 2001 From: Kenny <27463495+Frontesque@users.noreply.github.com> Date: Tue, 31 May 2022 10:01:40 -0400 Subject: [PATCH] make addplugin async --- NUXT/plugins/thirdPartyPluginLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NUXT/plugins/thirdPartyPluginLoader.js b/NUXT/plugins/thirdPartyPluginLoader.js index 3e7382c..ee1435b 100644 --- a/NUXT/plugins/thirdPartyPluginLoader.js +++ b/NUXT/plugins/thirdPartyPluginLoader.js @@ -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