Open
Description
Given a workspace definition file like this:
{
"folders": [
{
"path": ".",
"name": "Root"
},
{
"path": "/my/path/to/project",
"name": "Proj"
}
]
}
Consider a genaiscript called test.genai.mts
in Root folder:
const inputs0 = await workspace.findFiles("**/*.md");
const inputs1 = env.files;
console.log(inputs0);
console.log(inputs1);
This is run on a file in the Proj folder. There are md
files in the Proj folder, but workspace.findFiles()
cannot find them.
Metadata
Metadata
Assignees
Labels
No labels