Skip to content

Commit b051447

Browse files
committed
Removed runRunCommand
The `liftIO` is a sophisticated identity function ;).
1 parent a47a954 commit b051447

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cardano-node/app/cardano-node.hs

+1-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ main = toplevelExceptionHandler $ do
2929
cmd <- Opt.customExecParser p opts
3030

3131
case cmd of
32-
RunCmd args -> runRunCommand args
32+
RunCmd args -> runNode args
3333
TraceDocumentation tdc -> runTraceDocumentationCmd tdc
3434
VersionCmd -> runVersionCommand
3535

@@ -95,9 +95,6 @@ runVersionCommand =
9595
renderVersion = Text.pack . showVersion
9696

9797

98-
runRunCommand :: PartialNodeConfiguration -> IO ()
99-
runRunCommand pnc = liftIO $ runNode pnc
100-
10198
command' :: String -> String -> Parser a -> Mod CommandFields a
10299
command' c descr p =
103100
command c $ info (p <**> helper)

0 commit comments

Comments
 (0)