Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: fix nits in lib\internal\bootstrap\node.js #24914

Closed
wants to merge 1 commit into from
Closed

lib: fix nits in lib\internal\bootstrap\node.js #24914

wants to merge 1 commit into from

Conversation

vsemozhetbyt
Copy link
Contributor

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
  • Fix typos and unify differences in comments and messages.
  • Unwrap short lines.
  • Eliminate short-living variables.
  • Fix sorting in an array of strings.
  • Unify iteration over arrays of strings.
  • Reduce string concatenation.
  • Cache retrieved object/array properties.
  • Simplify conditional logic.
  • Reduce module loading calls if at least one of them isn't conditional:
    internalBinding('config'),
    internalBinding('worker'),
    NativeModule.require('internal/util'),
    NativeModule.require('util').

@nodejs-github-bot

This comment has been minimized.

@vsemozhetbyt vsemozhetbyt added the lib / src Issues and PRs related to general changes in the lib or src directory. label Dec 8, 2018
@vsemozhetbyt

This comment has been minimized.

@vsemozhetbyt

This comment has been minimized.

@vsemozhetbyt

This comment has been minimized.

* Fix typos and unify differences in comments and messages.
* Unwrap short lines.
* Eliminate short-living variables.
* Fix sorting in an array of strings.
* Unify iteration over arrays of strings.
* Reduce string concatenation.
* Cache retrieved object/array properties.
* Simplify conditional logic.
* Reduce module loading calls if at least one of them isn't conditional:
  `internalBinding('config')`,
  `internalBinding('worker')`,
  `NativeModule.require('internal/util')`,
  `NativeModule.require('util')`.
@vsemozhetbyt
Copy link
Contributor Author

@vsemozhetbyt vsemozhetbyt deleted the lib-bootstrap-node.js branch December 12, 2018 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib / src Issues 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.

2 participants