fix build
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Plugin } from "frontblock-generic/Plugin"
|
||||
import { getLogger } from "frontblock-generic/Types"
|
||||
import { FrontworkAdmin } from "./Admin";
|
||||
var exec = require('child-process-promise').exec;
|
||||
|
||||
const logger = getLogger("installer", 'info')
|
||||
@@ -16,7 +17,8 @@ export const installAdmin = (plugins: Plugin[] = []) => {
|
||||
exec("npm i " + deps).then(async process => {
|
||||
logger.debug(process.stdout)
|
||||
const Admin = require("./Admin").FrontworkAdmin
|
||||
const fbAdmin = new Admin(plugins)
|
||||
const fbAdmin:FrontworkAdmin = new Admin(plugins)
|
||||
fbAdmin.start()
|
||||
})
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user