Skip to content

Codelens does not work if there is a space in the path #94

@EifelMono

Description

@EifelMono

Codelens does not work if there is a space in the path.
This happens with macOS and Windows

I can not compile the project....?!?

ORIGINAL

const buildCommand =
        os.platform() === 'win32'
            ? `powershell -ExecutionPolicy ByPass -File build.ps1 -script ${fileName} -target \"${taskName}\" -verbosity=${runConfig.verbosity}`
            : `./build.sh --script ${fileName} --target=\"${taskName}\" --verbosity=${runConfig.verbosity}`;

FIXED

const buildCommand =
        os.platform() === 'win32'
            ? `powershell -ExecutionPolicy ByPass -File build.ps1 -script \"${fileName}\" -target \"${taskName}\" -verbosity ${runConfig.verbosity}`
            : `./build.sh --script=\"${fileName}\" --target=\"${taskName}\" --verbosity=${runConfig.verbosity}`;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions