Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit d33d7da

Browse files
invalid use of property
1 parent 9ec4e75 commit d33d7da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/models/workdir-context-pool.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default class WorkdirContextPool {
107107
this.remove(directory, true);
108108
}
109109

110-
if (added.size() !== 0 || removed.size() !== 0) {
110+
if (added.size !== 0 || removed.size !== 0) {
111111
this.emitter.emit('did-change-contexts', {added, removed});
112112
}
113113
}
@@ -158,7 +158,7 @@ export default class WorkdirContextPool {
158158

159159
WorkdirContext.destroyAbsent();
160160

161-
if (workdirs.size() !== 0) {
161+
if (workdirs.size !== 0) {
162162
this.emitter.emit('did-change-contexts', {removed: workdirs});
163163
}
164164
}

0 commit comments

Comments
 (0)