? await this.resolveFilesAtLocation(searchRoot, type, token) // if the location does not contain a glob pattern, resolve the location directly
: await this.searchFilesInLocation(searchRoot, filePattern, token);
if (getPromptFileType(file) === type) {
paths.add(file);
}
}
if (token.isCancellationRequested) {
return [];