diff --git a/.drone.yml b/.drone.yml index e25cfec..8f8b86b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,7 +46,7 @@ steps: - cp -r ./lib/* ./${DRONE_REPO_NAME} - cd ./${DRONE_REPO_NAME} - git add -A - - git commit -m "drone taged as version ${DRONE_TAG}" + - git commit -m "drone taged as version ${DRONE_TAG}" || true - git tag ${DRONE_TAG} - git push https://$GIT_USER:$GIT_PASSWORD@gitea.frontblock.me/fb-dist/${DRONE_REPO_NAME}.git ${DRONE_TAG} --force environment: diff --git a/src/backend/FrontblockAdmin.ts b/src/backend/FrontblockAdmin.ts index fbf857c..713e44d 100644 --- a/src/backend/FrontblockAdmin.ts +++ b/src/backend/FrontblockAdmin.ts @@ -145,7 +145,6 @@ export class FrontblockAdmin extends ConfigLoader{ rpcInfos.push(info) }) } - //Hook up all the functions for(const api of rpcInfos){ diff --git a/src/backend/FrontblockLib.ts b/src/backend/FrontblockLib.ts index c4a60ae..c943325 100644 --- a/src/backend/FrontblockLib.ts +++ b/src/backend/FrontblockLib.ts @@ -75,7 +75,6 @@ export class FrontblockConfigLib{ } - window['fb'] = new FrontblockConfigLib() declare const fb:{PluginManager:any} window['setup'] = async() => {