Skip to content

Commit

Permalink
consider review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
amorscher committed Dec 4, 2022
1 parent 0e780bb commit dbd869c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/project/index.js
Expand Up @@ -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"),
};
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit dbd869c

Please sign in to comment.