+4
This commit is contained in:
parent
3f4728bb37
commit
3450aa3168
3 changed files with 5 additions and 3 deletions
|
@ -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: '3');
|
||||
final Version PACKAGE_VERSION = new Version(1, 2, 0, build: '4');
|
||||
Future<Version> fetchCurrentVersion(http.BaseClient client) async {
|
||||
var response =
|
||||
await client.get('https://pub.dartlang.org/api/packages/angel_cli');
|
||||
|
|
|
@ -59,8 +59,10 @@ class UpdateCommand extends Command {
|
|||
}
|
||||
} else
|
||||
stdout.writeln('No update available.');
|
||||
} catch (e) {
|
||||
} catch (e, st) {
|
||||
stdout.writeln('Failed to check for update.');
|
||||
stderr.writeln(e);
|
||||
stderr.writeln(st);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ author: "Tobe O <thosakwe@gmail.com>"
|
|||
description: "Command-line tools for the Angel framework."
|
||||
homepage: "https://github.com/angel-dart/angel_cli"
|
||||
name: "angel_cli"
|
||||
version: 1.2.0+3
|
||||
version: 1.2.0+4
|
||||
dependencies:
|
||||
# analyzer: "^0.29.0"
|
||||
args: ^0.13.4
|
||||
|
|
Loading…
Reference in a new issue