Skip to content

Commit

Permalink
feat: do not expose pending jobs on pacakgeContext
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
pacakgeContext.pendingJobs was removed
  • Loading branch information
medikoo committed Nov 14, 2018
1 parent 45db94a commit 18648cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/private/install-package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ module.exports = async (packageContext, userConfiguration, inputOptions, progres

progressData.emit("start", { name, type: (await isDirectory(path)) ? "update" : "install" });

const pendingJobs = (packageContext.pendingJobs = []);
log.debug("mark %s as ongoing", name);
ongoing.set(name, pendingJobs);
ongoing.set(name, []);

// Ensure repository is up to date
await setupRepository(path, meta.repoUrl, inputOptions);
Expand Down

0 comments on commit 18648cb

Please sign in to comment.