Skip to content

Commit bbc71a8

Browse files
committed
feat: Support for toml & yaml build files
1 parent 198e6eb commit bbc71a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/beet.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,7 @@ export async function link(pythonPath: string, target: string) {
3030
}
3131

3232
export async function getConfigFiles() {
33-
return vscode.workspace.findFiles("**/beet*.json");
33+
let configFiles = await vscode.workspace.findFiles("**/beet*.{json,yml,yaml}");
34+
configFiles = configFiles.concat(await vscode.workspace.findFiles("**/pyproject.toml"));
35+
return configFiles;
3436
}

0 commit comments

Comments
 (0)