Skip to content

Commit dbb272b

Browse files
committed
refactor: no need in istanbul ignore
1 parent 3177d0a commit dbb272b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cli.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module.exports = async () => {
2323
spinner.text = `${nameWithVersion} copied to ${targetDir} in ${timer.get()}. Have fun!`;
2424
}catch(err){
2525
await fs.remove(tempDir);
26-
/* istanbul ignore else */
2726
if(err.code === 'ETARGET'){
2827
const msg = chalk.red(`version '${err.wanted}' not found in npm registry\navailable versions:\n`)
2928
spinner.fail(msg+err.versions.reverse().join(' | '));

0 commit comments

Comments
 (0)