Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add support for global generators #188

Merged
merged 1 commit into from Mar 21, 2013
Jump to file or symbol
Failed to load files and symbols.
+4 −0
Split
View
@@ -52,6 +52,10 @@ var Environment = module.exports = function Environment(args, opts) {
this.appendPath('.');
+ // adds support for global generators. ensures support across all OS since the
+ // global node_modules dir always is four levels up from env.js
+ this.appendPath(path.join(__dirname, '../../../..'));
+
this._prefixReg = null;
this._prefixes = this._prefixes || [];
this._suffix = this._suffix || '';