diff --git a/core/project/index.js b/core/project/index.js index a1e681405cd..9cdb3b3900d 100644 --- a/core/project/index.js +++ b/core/project/index.js @@ -66,7 +66,7 @@ class Project { // No need to distinguish between missing and empty, // saves a lot of noisy guards elsewhere config: {}, - isEmpty: true, + configNotFound:true, // path.resolve(".", ...) starts from process.cwd() filepath: path.resolve(cwd || ".", "lerna.json"), }; @@ -97,7 +97,7 @@ class Project { /** @type {ProjectConfig} */ this.config = loaded.config; - this.configNotFound = loaded.isEmpty; + this.configNotFound = loaded.configNotFound; this.rootConfigLocation = loaded.filepath; this.rootPath = path.dirname(loaded.filepath);