Revert scaffolding env helper changes
This commit is contained in:
parent
1f781c1b94
commit
dd38b2cda7
@ -18,9 +18,7 @@ import { path } from '../external/std.ts'
|
|||||||
* @return any
|
* @return any
|
||||||
*/
|
*/
|
||||||
const env = (name: string, fallback?: any) => {
|
const env = (name: string, fallback?: any) => {
|
||||||
// const scaffolding = make(Scaffolding)
|
const scaffolding = make(Scaffolding)
|
||||||
console.log('container', container)
|
|
||||||
const scaffolding = container.get_existing_instance(Scaffolding)
|
|
||||||
return scaffolding.env(name) ?? fallback
|
return scaffolding.env(name) ?? fallback
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user