Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: caching does not work with remote dictionaries. #4869

Open
Jason3S opened this issue Sep 26, 2023 · 0 comments
Open

Issue: caching does not work with remote dictionaries. #4869

Jason3S opened this issue Sep 26, 2023 · 0 comments
Labels

Comments

@Jason3S
Copy link
Collaborator

Jason3S commented Sep 26, 2023

Using a remote dictionary gives an error when caching is turned on.

cspell.json

{
    "dictionaryDefinitions": [
        {
            "name": "cities-remote",
            "path": "https://github.com/streetsidesoftware/cspell/raw/main/packages/cspell-io/samples/cities.txt",
            "type": "W"
        }
    ],
    "dictionaries": ["cities-remote"],
    "overrides": [
        {
            "filename": "**/test.txt",
            "language": "unknown"
        }
    ]
}
$ cspell . --no-progress
CSpell: Files checked: 3, Issues found: 0 in 0 files

$ cspell . --no-progress --cache
Linter Error: Dependency must be absolute "https://github.com/streetsidesoftware/cspell/raw/main/packages/cspell-io/samples/cities.txt"
CSpell: Files checked: 0, Issues found: 0 in 0 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant