*switch plugin loading to use require and not import
ci/woodpecker/manual/woodpecker Pipeline failed Details

This commit is contained in:
Derrick Hammer 2022-12-13 07:23:18 -05:00
parent 66995f5d7f
commit 724a0f0135
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ export class PluginApiManager {
let plugin: Plugin;
try {
plugin = (await import(paths.shift() as string)) as Plugin;
plugin = require(paths.shift() as string) as Plugin;
} catch (e) {
throw e;
}