diff --git a/changelog.md b/changelog.md index 454301b2e..e35ffec3c 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,7 @@ ## Unreleased * `FIX` incorrect argument skip pattern for `--check_out_path=`, which incorrectly skips the next argument +* `FIX` remove extra `./` path prefix in the check report when using `--check=.` ## 3.13.6 `2025-2-6` diff --git a/script/cli/check_worker.lua b/script/cli/check_worker.lua index 353926395..560739e30 100644 --- a/script/cli/check_worker.lua +++ b/script/cli/check_worker.lua @@ -187,7 +187,7 @@ function export.runCLI() return end - local rootPath = fs.absolute(fs.path(CHECK_WORKER)):string() + local rootPath = fs.canonical(fs.path(CHECK_WORKER)):string() local rootUri = furi.encode(rootPath) if not rootUri then print(lang.script('CLI_CHECK_ERROR_URI', rootPath))