Skip to content

Commit 1d62467

Browse files
committed
allow var in exclude list
1 parent f0661f4 commit 1d62467

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EIDEProject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ export abstract class AbstractProject implements CustomConfigurationProvider, Pr
15421542
//--
15431543

15441544
isExcluded(path: string): boolean {
1545-
const excList = this.GetConfiguration().config.excludeList;
1545+
const excList = this.GetConfiguration().config.excludeList.map((excpath) => this.resolveEnvVar(excpath));
15461546
const rePath = this.toRelativePath(path);
15471547
return excList.findIndex(excluded => rePath === excluded || rePath.startsWith(`${excluded}/`)) !== -1;
15481548
}

0 commit comments

Comments
 (0)