소스 검색

format file read error in otp_app module

pull/470/head
Tristan Sloughter 10 년 전
부모
커밋
476a80c33e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rebar_otp_app.erl

+ 1
- 1
src/rebar_otp_app.erl 파일 보기

@ -54,7 +54,7 @@ compile(State, App) ->
format_error({missing_app_file, Filename}) ->
io_lib:format("App file is missing: ~s", [Filename]);
format_error({file_read, File, Reason}) ->
io_lib:format("Failed to read app file ~s for processing: ~p", [File, Reason]);
io_lib:format("Failed to read app file ~s for processing: ~p", [File, file:format_error(Reason)]);
format_error({invalid_name, File, AppName}) ->
io_lib:format("Invalid ~s: name of application (~p) must match filename.", [File, AppName]).

불러오는 중...
취소
저장