Skip to content

Commit

Permalink
fix: enable tidy script
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 20, 2018
1 parent 39214ba commit 08eb1b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/commands/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ export default class UpdateCommand extends Command {
// removes any unused CLIs
private async tidy() {
try {
if (!this.config.binPath) return
if (!this.config.binPath.includes(this.config.version)) return
let root = this.clientRoot
if (!await fs.pathExists(root)) return
let files = await ls(root)
Expand Down

0 comments on commit 08eb1b0

Please sign in to comment.