Nebo15 / logger_json

JSON logger formatter with support for Google Cloud, DataDog and other for Elixir.
https://nebo15.github.io/logger_json/
MIT License
237 stars 92 forks source link

Bump excoveralls dep to fix coverage test #94

Closed kianmeng closed 2 years ago

kianmeng commented 2 years ago

This resolves below error:

$ mix coveralls  
Randomized with seed 138426                                                                      
** (FunctionClauseError) no function clause matching in IO.chardata_to_string/1    

    The following arguments were given to IO.chardata_to_string/1:         

        # 1                                                                                      
        nil                                     

    Attempted function clauses (showing 2 out of 2):

        def chardata_to_string(string) when is_binary(string)
        def chardata_to_string(list) when is_list(list)

    (elixir 1.13.4) lib/io.ex:627: IO.chardata_to_string/1
    (elixir 1.13.4) lib/path.ex:423: Path.dirname/1
    (excoveralls 0.14.1) lib/excoveralls/cover.ex:21: ExCoveralls.Cover.module_path/1
    (excoveralls 0.14.1) lib/excoveralls/stats.ex:54: ExCoveralls.Stats.add_counts/4
    (elixir 1.13.4) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
    (excoveralls 0.14.1) lib/excoveralls/stats.ex:28: ExCoveralls.Stats.report/1
    (excoveralls 0.14.1) lib/excoveralls.ex:45: ExCoveralls.execute/2
    (mix 1.13.4) lib/mix/tasks/test.ex:538: Mix.Tasks.Test.do_run/3
    (mix 1.13.4) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
    (excoveralls 0.14.1) lib/mix/tasks.ex:54: Mix.Tasks.Coveralls.do_run/2
    (mix 1.13.4) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.13.4) lib/mix/cli.ex:84: Mix.CLI.run_task/2
    (elixir 1.13.4) lib/code.ex:1183: Code.require_file/2

Deps upgraded:

certifi 2.6.1 => 2.9.0
excoveralls 0.14.1 => 0.15.0 (minor)
hackney 1.17.4 => 1.18.1
jason 1.2.2 => 1.4.0
coveralls commented 2 years ago

Coverage Status

Coverage decreased (-0.4%) to 74.51% when pulling 190e2904f75fb1e8f5ed777e87e92e41685e1103 on kianmeng:bump-excoveralls-dep-to-fix-coverage-test into 62831e88303e6f5238aec4bc610d1297465d3bb5 on Nebo15:master.

AndrewDryga commented 2 years ago

Thank you ❤️

kianmeng commented 1 year ago

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face: