MCPcopy
hub / github.com/eggjs/egg / env

Method env

src/lib/egg.ts:578–581  ·  view source on GitHub ↗

* app.env delegate app.config.env * @deprecated

()

Source from the content-addressed store, hash-verified

576 * @deprecated
577 */
578 get env() {
579 this.deprecate('please use app.config.env instead');
580 return this.config.env;
581 }
582 /* eslint no-empty-function: off */
583 set env(_) {}
584

Callers 9

egg.test.tsFile · 0.80
master.test.tsFile · 0.80
master.test.tsFile · 0.80
logger.test.tsFile · 0.80
ipc.test.tsFile · 0.80
onerror.test.tsFile · 0.80
context.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected