Skip to content

Commit

Permalink
Fix documentation error relating to File.cwd()!
Browse files Browse the repository at this point in the history
  • Loading branch information
nthock authored May 21, 2019
1 parent afc75cf commit f8c585f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ For optional settings check the [docs](https://hexdocs.pm/sentry/readme.html).
| `in_app_module_whitelist` | False | `[]` | |
| `report_deps` | False | True | Will attempt to load Mix dependencies at compile time to report alongside events |
| `enable_source_code_context` | False | False | |
| `root_source_code_path` | Required if `enable_source_code_context` is enabled | | Should generally be set to `File.cwd()!`|
| `root_source_code_path` | Required if `enable_source_code_context` is enabled | | Should generally be set to `File.cwd!()`|
| `context_lines` | False | 3 | |
| `source_code_exclude_patterns` | False | `[~r"/_build/", ~r"/deps/", ~r"/priv/"]` | |
| `source_code_path_pattern` | False | `"**/*.ex"` | |
Expand All @@ -130,7 +130,7 @@ config :sentry,
environment_name: :prod,
included_environments: [:prod],
enable_source_code_context: true,
root_source_code_path: File.cwd()!,
root_source_code_path: File.cwd!(),
tags: %{
env: "production"
},
Expand Down

0 comments on commit f8c585f

Please sign in to comment.