Skip to content

Commit 6d9ca78

Browse files
authored
Merge pull request jonataslaw#268 from jonataslaw/fix-parser
fix yaml parser
2 parents d271562 + cd22dc7 commit 6d9ca78

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
## [1.9.1]
2+
3+
- Fix yaml parse error
4+
15
## [1.9.0]
26

37
- Update to dart 3
48
- Make null safety mandatory
9+
- Update impl/get_view.dart to adhere Flutter's - use_super_parameters
10+
- Add support for Flutter 2.10
11+
- Fix chinese translation
512

613
## [1.8.2]
714

lib/common/utils/pubspec/pubspec_utils.dart

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ import '../shell/shel.utils.dart';
1515
class PubspecUtils {
1616
static final _pubspecFile = File('pubspec.yaml');
1717

18-
static Pubspec get pubSpec => Pubspec.parse(pubspecJson);
18+
static Pubspec get pubSpec => Pubspec.parse(pubspecString);
1919

20-
static get pubspecJson => loadYaml(_pubspecFile.readAsStringSync());
20+
static String get pubspecString => _pubspecFile.readAsStringSync();
21+
22+
static get pubspecJson => loadYaml(pubspecString);
2123

2224
/// separtor
2325
static final _mapSep = _PubValue<String>(() {

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: get_cli
2-
version: 1.9.0
2+
version: 1.9.1
33
homepage: https://github.com/jonataslaw/get_cli
44
description: Official CLI for GetX™ framework to build Flutter and Server
55
Applications easily

0 commit comments

Comments
 (0)