Skip to content

Commit d37219b

Browse files
authored
Merge pull request #1096 from code-corps/refactor-events-further
Move BodyParser from Events to Sync
2 parents ef62b5d + 0e5505f commit d37219b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/code_corps/github/event/pull_request/body_parser.ex renamed to lib/code_corps/github/sync/pull_request/github_pull_request/body_parser.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule CodeCorps.GitHub.Event.PullRequest.BodyParser do
1+
defmodule CodeCorps.GitHub.Sync.PullRequest.BodyParser do
22
@moduledoc ~S"""
33
In charge of extracting ids from markdown content, paired to a predefined list
44
of keywords.

test/lib/code_corps/github/event/pull_request/body_parser_test.exs renamed to test/lib/code_corps/github/sync/pull_request/body_parser_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
defmodule CodeCorps.GitHub.Event.PullRequest.BodyParserTest do
1+
defmodule CodeCorps.GitHub.Sync.PullRequest.BodyParserTest do
22
@moduledoc false
33

44
use ExUnit.Case, async: true
55

66

77
alias CodeCorps.{
8-
GitHub.Event.PullRequest.BodyParser
8+
GitHub.Sync.PullRequest.BodyParser
99
}
1010

1111
describe "extract_closing_ids/1" do

0 commit comments

Comments
 (0)