Skip to content

Commit

Permalink
Format long lines and Year is now stored as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
GwendalLaurent committed May 6, 2024
1 parent 963dc97 commit 65bfe5e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/grisp_tools_configure.erl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ validate_user_choice(State, name) ->
case {Interactive, filelib:is_dir(ProjectPath)} of
{true, true} ->
Prompt = io_lib:format(
"A directory with the name ~p already exists. Do you wish to proceed ?",
"A directory with the name ~p already exists."
++ "Do you wish to proceed ?",
[ProjectName]),
UserChoice = grisp_tools_io:ask(State, Prompt, boolean, false),
case UserChoice of
Expand All @@ -103,8 +104,8 @@ settings() ->
"Activates the interactive mode"},
{"Description", {desc, undefined}, {string, "A GRiSP application"},
"Short description of the app"},
{"Copyright year", {copyright_year, undefined}, {string, Year},
"The copyright year"},
{"Copyright year", {copyright_year, undefined},
{string, integer_to_list(Year)}, "The copyright year"},
{"Author name", {author_name, undefined}, {string, AuthorName},
"The name of the author"},
{"Author email", {author_email, undefined}, {string, AuthorEmail},
Expand Down

0 comments on commit 65bfe5e

Please sign in to comment.