From f8c585f54a3a507f3fc53310eb0f17f7fa235ccb Mon Sep 17 00:00:00 2001 From: nthock Date: Tue, 21 May 2019 20:34:38 +0800 Subject: [PATCH] Fix documentation error relating to File.cwd()! --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9850b747..c3193fbb 100644 --- a/README.md +++ b/README.md @@ -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"` | | @@ -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" },