Merge branch 'preview' into dev
This commit is contained in:
commit
d80837ae62
2 changed files with 2 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue