mirror of https://github.com/embarklabs/embark.git
fix: allow to use embark in dev deps
This commit is contained in:
parent
387d33a076
commit
daf6e6426b
|
@ -630,9 +630,9 @@ PkgJsonLocalExpected.prototype.logMissingFile = function () {
|
|||
|
||||
PkgJsonLocalExpected.prototype.setEmbarkDep = function () {
|
||||
if (isObject(this.json)) {
|
||||
if (this.json.dependencies) {
|
||||
if (this.json.dependencies && this.json.dependencies.embark) {
|
||||
this.embarkDep = this.json.dependencies.embark;
|
||||
} else if (this.json.devDependencies) {
|
||||
} else if (this.json.devDependencies && this.json.devDependencies.embark) {
|
||||
this.embarkDep = this.json.devDependencies.embark;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue