Skip to content

lib: return directly from packageMainCache - #20591

Closed
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:loaders_readPackage
Closed

lib: return directly from packageMainCache#20591
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:loaders_readPackage

Conversation

@danbev

Copy link
Copy Markdown
Contributor

This commit updates readPackage to return directly when calling
packageMainCache instead of storing the result in a local var
and returning later.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

This commit updates readPackage to return directly when calling
packageMainCache instead of storing the result in a local var
and returning later.
@danbev

Copy link
Copy Markdown
ContributorAuthor

@trivikrtrivikr added the lib / src Issues and PRs related to general changes in the lib or src directory. label May 8, 2018
@BridgeARBridgeAR added the fast-track PRs that do not need to wait for 48 hours to land. label May 8, 2018
@danbev

Copy link
Copy Markdown
ContributorAuthor

Landed in 6446510.

@danbevdanbev closed this May 10, 2018
@danbev
danbev deleted the loaders_readPackage branch May 10, 2018 03:23
danbev added a commit that referenced this pull request May 10, 2018
This commit updates readPackage to return directly when calling
packageMainCache instead of storing the result in a local var
and returning later.
PR-URL: #20591
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
targos pushed a commit that referenced this pull request May 12, 2018
This commit updates readPackage to return directly when calling
packageMainCache instead of storing the result in a local var
and returning later.
PR-URL: #20591
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
@addaleaxaddaleax mentioned this pull request May 14, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-trackPRs that do not need to wait for 48 hours to land.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@danbev@jasnell@targos@cjihrig@tniessen@devsnek@BridgeAR@trivikr