Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Fix dart:io constants. (#32)
Browse files Browse the repository at this point in the history
* Stop using deprecated upper-case constant name.
  • Loading branch information
lrhn authored May 30, 2018
1 parent 352a8f8 commit 67c3e69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.1.3+1
- Update Dart SDK to 2.0.0-dev.

## 0.1.3
- In verbose mode, instead of printing the diff from the last log message,
print the total time since the tool started
Expand Down
2 changes: 1 addition & 1 deletion lib/cli_logging.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Ansi {
/// Return whether the current stdout terminal supports ANSI escape sequences.
static bool get terminalSupportsAnsi {
return io.stdout.supportsAnsiEscapes &&
io.stdioType(io.stdout) == io.StdioType.TERMINAL;
io.stdioType(io.stdout) == io.StdioType.terminal;
}

final bool useAnsi;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: A library to help in building Dart command-line apps.
homepage: https://github.com/dart-lang/cli_util

environment:
sdk: '>=1.11.0 <2.0.0'
sdk: '>=2.0.0-dev.55.0 <3.0.0'

dependencies:
path: '>=1.0.0 <2.0.0'
Expand Down

0 comments on commit 67c3e69

Please sign in to comment.