*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;
|
let plugin: Plugin;
|
||||||
try {
|
try {
|
||||||
plugin = (await import(paths.shift() as string)) as Plugin;
|
plugin = require(paths.shift() as string) as Plugin;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue