From 925d8bf4147c74d78c9265a4a5f5286756d0ed5a Mon Sep 17 00:00:00 2001 From: jld3103 Date: Mon, 16 Oct 2023 21:38:26 +0200 Subject: [PATCH] fix(tool): Fix cspell for Dart raw strings Signed-off-by: jld3103 --- .cspell/nextcloud.txt | 3 --- tool/update-cspell-dictionaries.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.cspell/nextcloud.txt b/.cspell/nextcloud.txt index 0880b4e9..a95264a3 100644 --- a/.cspell/nextcloud.txt +++ b/.cspell/nextcloud.txt @@ -37,9 +37,6 @@ publicpreview reshares resharing rgdnvw -r'sharebymail -r'updatenotification -r'uppush shareapi sharebymail sharee diff --git a/tool/update-cspell-dictionaries.sh b/tool/update-cspell-dictionaries.sh index 18dd4e78..623a57d5 100755 --- a/tool/update-cspell-dictionaries.sh +++ b/tool/update-cspell-dictionaries.sh @@ -4,5 +4,5 @@ cd "$(dirname "$0")/.." for file in .cspell/*; do rm "$file" - cspell lint --quiet --unique --words-only . | tr '[:upper:]' '[:lower:]' | sort -f | uniq > "$file" || true + cspell lint --quiet --unique --words-only . | tr '[:upper:]' '[:lower:]' | sed "s/^r'//" | sort -f | uniq > "$file" || true done