Skip to content

chore: remove dead isWindows/binName constants in ripgrep service #278

Description

@edelauna

Context

PR #248 replaced getBinPath's hardcoded path probing with import("@vscode/ripgrep"). The two module-level constants that the old implementation used are now unreferenced:

const isWindows = process.platform.startsWith("win")
const binName = isWindows ? "rg.exe" : "rg"

const isWindows = process.platform.startsWith("win")
const binName = isWindows ? "rg.exe" : "rg"

Task

Delete both constants. No other code references them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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