fix(all): Automated build errors.

This commit is contained in:
Rodrigo Rodriguez 2022-07-01 18:33:41 -03:00
parent ce2b484f8e
commit 55ff686a3f
9 changed files with 580 additions and 33791 deletions

34347
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -25,7 +25,6 @@
"type": "git", "type": "git",
"url": "https://github.com/GeneralBots/BotServer.git" "url": "https://github.com/GeneralBots/BotServer.git"
}, },
"scripts": { "scripts": {
"clean": "shx rm -rf node_modules/ dist/ docs/reference", "clean": "shx rm -rf node_modules/ dist/ docs/reference",
"tslint": "tslint --fix ./src/*.ts ./packages/**/*.ts -t verbose -e ./packages/default.gbui/**/* -e ./packages/**/*.gbdialog/**/*", "tslint": "tslint --fix ./src/*.ts ./packages/**/*.ts -t verbose -e ./packages/default.gbui/**/* -e ./packages/**/*.gbdialog/**/*",
@ -155,7 +154,6 @@
"travis-deploy-once": "5.0.11", "travis-deploy-once": "5.0.11",
"ts-node": "10.0.0", "ts-node": "10.0.0",
"tslint": "6.1.2", "tslint": "6.1.2",
"tslint-microsoft-contrib": "6.2.0",
"typedoc": "^0.22.17" "typedoc": "^0.22.17"
}, },
"eslintConfig": { "eslintConfig": {

View file

@ -51,7 +51,7 @@ export class GBSecurityPackage implements IGBPackage {
public sysPackages: IGBPackage[]; public sysPackages: IGBPackage[];
public async getDialogs(min: GBMinInstance) { public async getDialogs(min: GBMinInstance) {
let out = [ const out = [
ProfileDialog.getNameDialog(min), ProfileDialog.getNameDialog(min),
ProfileDialog.getEmailDialog(min), ProfileDialog.getEmailDialog(min),
ProfileDialog.getMobileDialog(min), ProfileDialog.getMobileDialog(min),

View file

@ -209,14 +209,14 @@ export class GBServer {
})(); })();
}; };
if (process.env.CERTIFICATE_PFX) { if (process.env.CERTIFICATE_PFX) {
var options = { let options = {
passphrase: process.env.CERTIFICATE_PASSPHRASE, passphrase: process.env.CERTIFICATE_PASSPHRASE,
pfx: fs.readFileSync(process.env.CERTIFICATE_PFX) pfx: fs.readFileSync(process.env.CERTIFICATE_PFX)
}; };
const httpsServer = https.createServer(options, server).listen(port, mainCallback); const httpsServer = https.createServer(options, server).listen(port, mainCallback);
if (process.env.CERTIFICATE2_PFX) { if (process.env.CERTIFICATE2_PFX) {
var options = { let options = {
passphrase: process.env.CERTIFICATE2_PASSPHRASE, passphrase: process.env.CERTIFICATE2_PASSPHRASE,
pfx: fs.readFileSync(process.env.CERTIFICATE2_PFX) pfx: fs.readFileSync(process.env.CERTIFICATE2_PFX)
}; };