Merge branch 'preview' into dev

This commit is contained in:
Nate Sesti 2024-07-23 13:11:52 -07:00
commit d80837ae62
2 changed files with 2 additions and 4 deletions

View file

@ -220,10 +220,9 @@ export async function walkDir(
for await (const e of dfsWalker.walk()) {
relativePaths.push(e);
}
const pathSep = await ide.pathSep();
const prefix = options.returnRelativePaths ? "" : (path + pathSep);
const prefix = options.returnRelativePaths ? "" : path + pathSep;
if (pathSep === "/") {
return relativePaths.map((p) => prefix + p);
}

View file

@ -7,7 +7,6 @@ import {
RangeInFile,
} from "core";
import { stripImages } from "core/llm/countTokens";
import { getBasename, getRelativePath } from "core/util";
import { IIdeMessenger } from "../../context/IdeMessenger";
interface MentionAttrs {