Revert scaffolding env helper changes

This commit is contained in:
Garrett Mills 2020-09-05 10:22:18 -05:00
parent 1f781c1b94
commit dd38b2cda7
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -18,9 +18,7 @@ import { path } from '../external/std.ts'
* @return any
*/
const env = (name: string, fallback?: any) => {
// const scaffolding = make(Scaffolding)
console.log('container', container)
const scaffolding = container.get_existing_instance(Scaffolding)
const scaffolding = make(Scaffolding)
return scaffolding.env(name) ?? fallback
}