mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
refactor(jsdoc): remove env global
BREAKING CHANGE: no more `env` global
This commit is contained in:
parent
afb01782df
commit
d48e0151e2
@ -32,17 +32,6 @@
|
||||
env.args = process.argv.slice(2);
|
||||
})();
|
||||
|
||||
/**
|
||||
* Data about the environment in which JSDoc is running, including the configuration settings that
|
||||
* were used to run JSDoc.
|
||||
*
|
||||
* @deprecated As of JSDoc 3.4.0. Use `require('jsdoc/env')` to access the `env` object. The global
|
||||
* `env` object will be removed in a future release.
|
||||
* @namespace
|
||||
* @name env
|
||||
*/
|
||||
global.env = (() => require('./lib/jsdoc/env'))();
|
||||
|
||||
(async () => {
|
||||
const cli = require('./cli');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user