Skip to content

Conversation

@erik-krogh
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the JS label Nov 26, 2020
@erik-krogh erik-krogh requested a review from a team as a code owner November 27, 2020 19:17
@erik-krogh erik-krogh marked this pull request as ready for review November 27, 2020 19:17
@esbena esbena self-assigned this Dec 16, 2020
Copy link
Contributor

@esbena esbena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Some minor comments, and a missing change-notes.

// `require('meow')(help, {...spec})` => `{a: ..., b: ....}`
this = DataFlow::moduleImport("meow").getACall()
or
// https://www.npmjs.com/package/dashdash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

/**
* A source of user input from the command-line parsed by the `commander` library.
*/
private class CommanderSource extends Source {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a part of ParsedCommandLineArgumentsAsSource above for consistency?

Copy link
Contributor

@esbena esbena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. The changes seem benign wrt. performance.

@codeql-ci codeql-ci merged commit 41ef7a3 into github:main Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants