We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cacb54 commit 7bdd104Copy full SHA for 7bdd104
cabal-install/Distribution/Client/CmdLegacy.hs
@@ -50,8 +50,9 @@ wrapperAction command verbosityFlag distPrefFlag shouldWarn =
50
let config = either (\(SomeException _) -> mempty) snd load
51
distPref <- findSavedDistPref config (distPrefFlag flags)
52
let setupScriptOptions = defaultSetupScriptOptions { useDistPref = distPref }
53
+ let command' = command { commandName = T.unpack . T.replace "v1-" "" . T.pack . commandName $ command }
54
setupWrapper verbosity' setupScriptOptions Nothing
- command (const flags) extraArgs
55
+ command' (const flags) extraArgs
56
57
--
58
0 commit comments