Updates userPrompt
in BrickMain to a more efficient version
This commit is contained in:
parent
2bd5a8fe1a
commit
e9740d13fc
@ -525,12 +525,12 @@ set' bs input@(_, ListResult {..}) = do
|
|||||||
|
|
||||||
PromptNo -> pure $ Left (prettyShow e)
|
PromptNo -> pure $ Left (prettyShow e)
|
||||||
where
|
where
|
||||||
userPrompt = L.toStrict $
|
userPrompt = L.toStrict . B.toLazyText . B.fromString $
|
||||||
B.toLazyText $
|
"This Version of "
|
||||||
B.fromString " This Version of " <>
|
<> show tool
|
||||||
B.fromString (show tool) <>
|
<> " you are trying to set is not installed.\n"
|
||||||
B.fromString " you are trying to set is not installed.\n" <>
|
<> "Would you like to install it first? [Y/N]: "
|
||||||
B.fromString " Would you like to install it first? [Y/N]: "
|
|
||||||
_ -> pure $ Left (prettyShow e)
|
_ -> pure $ Left (prettyShow e)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user