From 77c3f0806378e3f1b5498bc3bffeaf19ebd98231 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Fri, 20 Oct 2017 10:32:10 -0400 Subject: [PATCH] wipe --- .DS_Store | Bin 6148 -> 6148 bytes lib/src/commands/install.dart | 2 +- lib/src/commands/pubspec.update.g.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index c2e90e8119a896a5bda0104623306eb0a7172b7d..5d196f037d56ca0b78267e0adb31afd97123cb69 100644 GIT binary patch delta 31 ncmZoMXfc@J&&a+pU^gQp`(z%bMVp^7DY8y%u-MGb@s}R}pr#5i delta 56 zcmZoMXfc@J&&aVcU^gQp$7CL+MbbG8`3%Vn*`7K1$w@i+Nem1O0zm8r#4|QeWU^!3 J%+B$b9{{mN4v7E& diff --git a/lib/src/commands/install.dart b/lib/src/commands/install.dart index 689e239..b75d8fa 100644 --- a/lib/src/commands/install.dart +++ b/lib/src/commands/install.dart @@ -47,7 +47,7 @@ class InstallCommand extends Command { @override run() async { if (argResults['wipe']) { - if (await installRepo.exists()) await installRepo.delete(); + if (await installRepo.exists()) await installRepo.delete(recursive: true); } else if (argResults['list']) { var addons = await list(); print('${addons.length} add-on(s) installed:'); diff --git a/lib/src/commands/pubspec.update.g.dart b/lib/src/commands/pubspec.update.g.dart index 52eefc0..07f8053 100644 --- a/lib/src/commands/pubspec.update.g.dart +++ b/lib/src/commands/pubspec.update.g.dart @@ -3,7 +3,7 @@ import 'dart:convert'; import 'package:http/src/base_client.dart' as http; import 'package:pub_semver/pub_semver.dart'; -final Version PACKAGE_VERSION = new Version(1, 2, 0, build: '4'); +final Version PACKAGE_VERSION = new Version(1, 2, 0, build: '5'); Future fetchCurrentVersion(http.BaseClient client) async { var response = await client.get('https://pub.dartlang.org/api/packages/angel_cli'); diff --git a/pubspec.yaml b/pubspec.yaml index f06dd75..ca7b942 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ author: "Tobe O " description: "Command-line tools for the Angel framework." homepage: "https://github.com/angel-dart/angel_cli" name: "angel_cli" -version: 1.2.0+4 +version: 1.2.0+5 dependencies: # analyzer: "^0.29.0" args: ^0.13.4