Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Debugger accept array of sourcefiles (rather than string) #2236

Closed
wants to merge 1 commit into from

Conversation

caiismyname
Copy link
Contributor

@caiismyname caiismyname commented Jul 10, 2018

Release Notes: Landed Nuclide change to pass sourcefiles as array instead of string. Updating receiving behavior here to match.

@caiismyname caiismyname changed the title [WIP] Debugger accepts array of sourcefiles rather than string [WIP] Debugger accept array of sourcefiles (rather than string) Jul 10, 2018
@caiismyname caiismyname changed the title [WIP] Debugger accept array of sourcefiles (rather than string) Debugger accept array of sourcefiles (rather than string) Jul 11, 2018
let launchArgs: PrepackLaunchArguments = {
kind: "launch",
sourceFiles: separatedSourceFiles,
sourceFiles: args.sourceFiles,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to inline all fields of args into launchArgs? If so, these three lines can be simplified using spread operation: ...args

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@caiismyname is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@hermanventer hermanventer deleted the debugger-input-array-of-files branch July 13, 2018 17:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants