Skip to content

fix: Resource not found when there is an "@" that is not a library in the middle of the question. #121

@andremacola

Description

@andremacola

When we run code examples containing any kind of @, BTCA returns a message saying it couldn't find the library.

Example: import { json } from '@sveltejs/kit'

I think a way to work around this problem is needed without affecting the functionality of identifying @svelte within the text.

Perhaps a way to mitigate this would be to check if @svelte/kit is enclosed in spaces? Or to validate a statement differently if the library is referenced at the beginning of the text? Or ignore when the text is pasted.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions