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

Only take the last line of output in getRuntimeGhcX #256

Merged
merged 1 commit into from
Oct 17, 2020

Conversation

lukel97
Copy link
Contributor

@lukel97 lukel97 commented Oct 16, 2020

Fixes cases on windows where stack's output looks like this:

\n7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18\n\nProcessing archive: C:\\Users\\runneradmin\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-8.8.3.tar.xz\n\nExtracting  ghc-8.8.3.tar\n\nEverything is Ok\n\nSize:       2555330560\nCompressed: 204702116\n8.8.3

@fendor
Copy link
Collaborator

fendor commented Oct 17, 2020

Thanks, do you need a minor release for that?

@lukel97
Copy link
Contributor Author

lukel97 commented Oct 17, 2020

I'll test it out on haskell/haskell-language-server#504 first and get back to you

src/HIE/Bios/Environment.hs Outdated Show resolved Hide resolved
Fixes cases on windows where stack's output looks like this:

\n7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18\n\nProcessing archive: C:\\Users\\runneradmin\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-8.8.3.tar.xz\n\nExtracting  ghc-8.8.3.tar\n\nEverything is Ok\n\nSize:       2555330560\nCompressed: 204702116\n8.8.3
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, waiting for green ci

@fendor fendor merged commit 97c4fb6 into haskell:master Oct 17, 2020
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.

None yet

2 participants