Skip to content

Ignoring taskfile: "..." (outside of workspace) #121

Description

@saperant

It seems that the following check causes problems, when VS Code project is opened behind a symlinked folder:
https://github.com/go-task/vscode-task/blob/8f857660326255281fcdbf6bb4c24850970612f3/src/services/taskfile.ts#L206C25-L206C25

Had this error message:

Updating settings
Extension activated
Calling GitHub to get the latest version
Searching for taskfile in: "/home/saku/src/myproject"
Ignoring taskfile: "/home/saku/src/myproject/Taskfile.yml" (outside of workspace)

And everything is working fine when there is no symlink in the project path (my ~/src is a symlink).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: inputChanges related to the reading of Taskfiles.

    Type

    Fields

    No fields configured for bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions