File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11name : term_glyph
2- version : 1.0.0
2+ version : 1.0.1-dev
33description : Useful glyphs and Windows-safe equivalents.
44author :
Dart Team <[email protected] > 55homepage : https://github.com/dart-lang/term_glyph
@@ -9,5 +9,5 @@ environment:
99
1010dev_dependencies :
1111 csv : ' ^3.0.0'
12- dart_style : ' ^ 0.2.0'
13- test : ' ^ 0.12.0'
12+ dart_style : ' >= 0.2.0 <2.0 .0'
13+ test : ' >= 0.12.0 <2.0 .0'
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ import 'package:csv/csv.dart';
88
99void main () {
1010 var csv = new CsvCodec (eol: "\n " );
11- var data = csv.decode (new File ("data.csv" ).readAsStringSync ());
11+ var data = csv.decoder. convert (new File ("data.csv" ).readAsStringSync ());
1212
1313 // Remove comments and empty lines.
1414 data.removeWhere ((row) => row.length < 3 );
1515
16- var file = new File ("lib/src/generated.dart" ).openSync (mode: FileMode .WRITE );
16+ var file = new File ("lib/src/generated.dart" ).openSync (mode: FileMode .write );
1717 file.writeStringSync ("""
1818 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
1919 // for details. All rights reserved. Use of this source code is governed by a
You can’t perform that action at this time.
0 commit comments