mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-01 16:35:51 +00:00
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…
x
Reference in New Issue
Block a user