We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
value
1 parent 44e66df commit ba4052dCopy full SHA for ba4052d
builtin/source/file.ts
@@ -1,4 +1,5 @@
1
import { enumerate } from "@core/iterutil/async/enumerate";
2
+import { relative } from "@std/path/relative";
3
import { SEPARATOR } from "@std/path/constants";
4
5
import { defineSource, type Source } from "../../source.ts";
@@ -58,7 +59,7 @@ export function file(options: Readonly<FileOptions> = {}): Source<Detail> {
58
59
) {
60
yield {
61
id,
- value: path,
62
+ value: relative(root, path),
63
detail: { path },
64
};
65
}
0 commit comments