Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions src/lsp/ProjectManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,13 +667,14 @@ export class ProjectManager {
//look for roku project folders
let rokuLikeDirs = (await Promise.all(
//find all folders containing a `manifest` file
(await rokuDeploy.getFilePaths([
'**/manifest',
...excludePatterns

//is there at least one .bs|.brs file under the `/source` folder?
], workspaceConfig.workspaceFolder)).map(async manifestEntry => {
const manifestDir = path.dirname(manifestEntry.src);
(await fastGlob(['**/manifest', ...excludePatterns], {
cwd: workspaceConfig.workspaceFolder,
followSymbolicLinks: false,
absolute: true,
onlyFiles: true
})).map(async manifestEntry => {
const manifestDir = path.dirname(manifestEntry);
//TODO validate that manifest is a Roku manifest
const files = await rokuDeploy.getFilePaths([
'source/**/*.{brs,bs}',
...excludePatterns
Expand Down