File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ defaultPrefs = UnisonPreferences {authorName = Nothing}
5252preferencesCodec :: TomlCodec UnisonPreferences
5353preferencesCodec =
5454 UnisonPreferences
55- <$> dioptional (Toml. text " author- name" ) Toml. .= authorName
55+ <$> dioptional (Toml. text " author. name" ) Toml. .= authorName
5656
5757createPreferencesFile :: (MonadIO m ) => FilePath -> m UnisonPreferences
5858createPreferencesFile preferencesFile = liftIO $ do
Original file line number Diff line number Diff line change @@ -2386,16 +2386,16 @@ notifyUser dir issueFn = \case
23862386 AnnotatedSuccessfully -> pure $ P. bold " Done."
23872387 AnnotationAborted -> pure (P. wrap " Annotation aborted." )
23882388 PreferencesError fp msg -> pure $
2389- P. hang (" Error parsing configuration file at " <> P. string fp) (P. text msg)
2389+ P. hang (" Error parsing configuration file at " <> P. string fp <> " . Run " <> IP. makeExample' IP. configEdit <> " to make changes. " ) (P. newline <> P. text msg)
23902390 MissingAuthorName -> pure $
23912391 P. lines [
23922392 " In order to do this, you need to provide an author name." ,
23932393 " You can set your author name by running:" ,
23942394 P. indentN 2 (IP. makeExample IP. configEdit [] ),
23952395 " " ,
2396- " and add a line like:" ,
2396+ " then adding a line like:" ,
23972397 " " ,
2398- " author- name = \" Your Name\" "
2398+ " author. name = \" Your Name\" "
23992399 ]
24002400
24012401
You can’t perform that action at this time.
0 commit comments