Closed ryanluker closed 6 years ago
If you do not have a coverage file you can get this error as the pickFile does not account for length 0 in its logic.
public async pickFile(filePaths: string[], placeHolder: string): Promise<string | undefined> { let pickedFile: string; if (filePaths.length === 1) { pickedFile = filePaths[0]; } else { const fileQuickPicks = filePaths.map((filePath) => { return { description: filePath, label: basename(filePath), }; });
Bug:
If you do not have a coverage file you can get this error as the pickFile does not account for length 0 in its logic.
Info: