This repository was archived by the owner on Feb 11, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { connect } from 'appscript/utilityFunction/middleware/commonDatabaseFunc
9
9
import { add , execute , applyMixin } from 'appscript/utilityFunction/decoratorUtility.js'
10
10
import addStaticSubclassToClassArray from 'appscript/module/addStaticSubclassToClassArray.staticMethod'
11
11
import { extendedSubclassPattern } from 'appscript/utilityFunction/extendedSubclassPattern.js'
12
+ import assert from 'assert'
12
13
13
14
const self =
14
15
@add ( { to : 'static' } , {
@@ -23,6 +24,8 @@ class Application extends EventEmitter {
23
24
24
25
static async initialize ( /*staticSubclass*/ ) { // One-time initialization of Applicaiton Class.
25
26
console . info ( `☕%c Running Application as ${ self . config . DEPLOYMENT } - '${ self . config . PROTOCOL } ${ self . config . HOST } '` , self . config . style . green )
27
+ assert . notStrictEqual ( self . config . HOST , undefined )
28
+
26
29
self . rethinkdbConnection = await connect ( )
27
30
_ . templateSettings = { // initial underscore template settings on first import gets applied on the rest.
28
31
evaluate : / \{ \% ( .+ ?) \% \} / g,
You can’t perform that action at this time.
0 commit comments