dependents-editor-backend
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -59,2 +59,5 @@ var fs = require('fs'); | ||
// Used by consumers to know where to find the node executable | ||
this.nodePath = config.node_path || ''; | ||
if (!this.directory) { | ||
@@ -73,2 +76,3 @@ throw new Error('Either a root or styles_root must be defined in your .deprc file'); | ||
return { | ||
nodePath: this.nodePath, | ||
stylesRoot: this.stylesRoot, | ||
@@ -107,12 +111,2 @@ buildConfig: this.buildConfig, | ||
/** | ||
* Convenience function to load up the config by recursively searching | ||
* for it starting with the given directory | ||
* | ||
* @param {String} directory | ||
*/ | ||
Config.prototype.init = function(directory) { | ||
this.load(this.find(directory)); | ||
}; | ||
module.exports = Config; |
{ | ||
"name": "dependents-editor-backend", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "The brains behind Dependents editor plugins", | ||
@@ -5,0 +5,0 @@ "main": "lib/cli.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9659
241