Skip to content

Commit

Permalink
Minor test formating fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sylane committed Sep 6, 2024
1 parent 0184ec3 commit e20d264
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rebar3_grisp_firmware.erl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ init(State) ->
"If no bundle file is specified, it will be generated by "
"calling 'rebar3 grisp deploy' with the optional release name "
"and version. As for the deploy command, options passed after "
"'--' are sent to the Rebar 3 release task.\n"
"'--' are sent to the rebar 3 release task.\n"
}
]),
{ok, rebar_state:add_provider(State, Provider)}.
Expand Down Expand Up @@ -283,7 +283,7 @@ event([firmware, prepare, _, {error, not_a_file, Path}]) ->
event([firmware, build_firmware, create_image]) ->
console("* Creating disk image...");
event([firmware, build_firmware, create_image, {error, Reason}]) ->
abort_message("Failed to create firmware image file; ~s", Reason);
abort_message("Failed to create firmware image file: ~s", Reason);
event([firmware, build_firmware, copy_bootloader]) ->
console("* Writing bootloader...");
event([firmware, build_firmware, copy_bootloader, {error, Reason}]) ->
Expand Down Expand Up @@ -346,9 +346,9 @@ event(Event) ->
debug("[rebar3_grisp] ~p", [Event]),
case lists:last(Event) of
{error, Reason, Info} when is_binary(Info) ->
abort("Unexpected 1 ~p error: ~s", [Reason, Info]);
abort("Unexpected ~p error: ~s", [Reason, Info]);
{error, Reason, Info} ->
abort("Unexpected 2 ~p error: ~p", [Reason, Info]);
abort("Unexpected ~p error: ~p", [Reason, Info]);
{error, Reason} ->
abort("Unexpected ~p error", [Reason]);
_ -> ok
Expand Down

0 comments on commit e20d264

Please sign in to comment.