Skip to content

SCRIPTDIR does not work #30

@indevsa

Description

@indevsa

Shellcheck's supports the SCRIPTDIR special value in its source and source-path to find sourced files in shell scripts. this doesn't seem to work in SublimeLinter-shellcheck.

As far as I can tell this is because the plugin passes the contents of a file to shellcheck's stdin, and not the path itself.

This could be fixed either by passing the file path itself, or by using shellcheck's -P/--source-path option.

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