Skip to content

Commit

Permalink
use fspath
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Oct 8, 2024
1 parent 65cfe9d commit 18cf3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/findFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function findFiles (glob: string): Promise<Uri[]> {
const searchedUris : Uri[] = []
for (const workspaceFolder of getWorkspaceFolders()) {
const rootUri = workspaceFolder.uri
const paths = await ripgrep(glob, rootUri.path)
const paths = await ripgrep(glob, rootUri.fsPath)
searchedUris.push(...paths.map((path) => Uri.joinPath(rootUri, path)))
}
return searchedUris
Expand Down

0 comments on commit 18cf3c1

Please sign in to comment.