Skip to content

Commit

Permalink
"Fix" for leaking project instance
Browse files Browse the repository at this point in the history
  • Loading branch information
simonihmig committed Jul 23, 2022
1 parent 9252881 commit eb1f2d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/models/project.js
Expand Up @@ -176,9 +176,9 @@ class Project {
}

static nullProject(ui, cli) {
if (NULL_PROJECT) {
return NULL_PROJECT;
}
// if (NULL_PROJECT) {
// return NULL_PROJECT;
// }

NULL_PROJECT = new Project(processCwd, {}, ui, cli);

Expand Down

0 comments on commit eb1f2d3

Please sign in to comment.