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

Refactor toInstall shenanigans #600

Merged
merged 2 commits into from
Apr 29, 2022
Merged

Refactor toInstall shenanigans #600

merged 2 commits into from
Apr 29, 2022

Conversation

hasufell
Copy link
Member

No description provided.

@hasufell hasufell requested a review from fendor April 29, 2022 09:45
@hasufell hasufell force-pushed the refactor branch 3 times, most recently from b34e8f3 to 5687141 Compare April 29, 2022 10:08
@@ -905,7 +902,7 @@ class InstalledTool {
* @param version Version of the tool, expected to be either SemVer or PVP versioned.
* @param installed Is this tool currently installed?
*/
public constructor(readonly name: string, readonly version?: string, readonly installed: boolean = true) {
public constructor(readonly name: string, readonly version: string, readonly installed: boolean = true) {
Copy link
Member Author

Choose a reason for hiding this comment

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

version is now non-optional and non-null.

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

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

LGTM

@fendor fendor merged commit f83db66 into haskell:master Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants