Commit a603b35c authored by Matt Renaud's avatar Matt Renaud

Default to SPDX.NONE license in cabal init interactive mode.

parent a09afa70
......@@ -268,7 +268,7 @@ getVersion flags = do
getLicense :: InitFlags -> IO InitFlags
getLicense flags = do
elic <- return (fmap Right $ flagToMaybe $ license flags)
?>> maybePrompt flags (promptList "Please choose a license" listedLicenses Nothing prettyShow True)
?>> maybePrompt flags (promptList "Please choose a license" listedLicenses (Just SPDX.NONE) prettyShow True)
case elic of
Nothing -> return flags { license = NoFlag }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment