File tree 1 file changed +4
-4
lines changed
cabal-install/src/Distribution/Client/Init/NonInteractive 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -276,14 +276,14 @@ licenseHeuristics flags = getLicense flags $ guessLicense flags
276
276
-- | The author's name. Prompt, or try to guess from an existing
277
277
-- git repo.
278
278
authorHeuristics :: Interactive m => InitFlags -> m String
279
- authorHeuristics flags = guessAuthorEmail >>=
280
- maybe (getAuthor flags $ return " " ) (getAuthor flags . return )
279
+ authorHeuristics flags = guessAuthorName >>=
280
+ maybe (getAuthor flags $ return " Unknown " ) (getAuthor flags . return )
281
281
282
282
-- | The author's email. Prompt, or try to guess from an existing
283
283
-- git repo.
284
284
emailHeuristics :: Interactive m => InitFlags -> m String
285
- emailHeuristics flags = guessAuthorName >>=
286
- maybe (getEmail flags $ return " " ) (getEmail flags . return )
285
+ emailHeuristics flags = guessAuthorEmail >>=
286
+ maybe (getEmail flags $ return " Unknown " ) (getEmail flags . return )
287
287
288
288
-- | Prompt for a homepage URL for the package.
289
289
homepageHeuristics :: Interactive m => InitFlags -> m String
You can’t perform that action at this time.
0 commit comments