*switch plugin loading to use require and not import
ci/woodpecker/manual/woodpecker Pipeline failed
Details
ci/woodpecker/manual/woodpecker Pipeline failed
Details
This commit is contained in:
parent
66995f5d7f
commit
724a0f0135
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue