Skip to content

Conversation

@benhsu
Copy link
Contributor

@benhsu benhsu commented Jul 12, 2015

Hi

My efforts to learn Erlang continue.

I was getting a runtime error around Lasse not started, so I added Lasse to the app.src file.

I also found that the code was returning things like {drawn, NewMatch} but the unit test was looking for a naked 'drawn' atom, so I fixed that

(I'm still getting some errors in gun and shotgun, I haven't had time during the week to pop into the chat room about them but they seem to be related to those dependencies being out of date)

Thank you for helping me learn Erlang.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Elvis:

Missing space after "," on line 18

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Elvis:

Line 18 is too long: -spec datetime_to_json(({{integer(),integer(),integer()},{integer(),integer(),integer()}})) -> binary()..

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you move to OTP 18.x you don't need to change datetime() for a tuple.

@elbrujohalcon
Copy link
Member

@benhsu you should merge master into your branch and give another shot at this PR.

@elbrujohalcon elbrujohalcon requested a review from Euen May 6, 2018 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants