From 96f661e15046a4222fd01a7216e18de901b73cb6 Mon Sep 17 00:00:00 2001 From: Jon Turney <jon.turney@dronecode.org.uk> Date: Thu, 20 Feb 2020 19:10:19 +0000 Subject: [PATCH] Add release note snippet --- docs/markdown/snippets/consistent_file_locations.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/markdown/snippets/consistent_file_locations.md diff --git a/docs/markdown/snippets/consistent_file_locations.md b/docs/markdown/snippets/consistent_file_locations.md new file mode 100644 index 000000000..5f384fe5e --- /dev/null +++ b/docs/markdown/snippets/consistent_file_locations.md @@ -0,0 +1,9 @@ +## Consistently report file locations relative to cwd + +The paths for filenames in error and warning locations are now consistently +reported relative to the current working directory (when possible), or as +absolute paths (when a relative path does not exist, e.g. a Windows path +starting with a different drive letter to the current working directory). + +(The previous behaviour was to report a path relative to the source root for all +warnings and most errors, and relative to cwd for certain parser errors)