Skip to content

Commit 2d84cf8

Browse files
committed
fix: fixes bugs and releases new version
1 parent 361f21d commit 2d84cf8

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# dart_define changelog
22

3+
## 2.1.1
4+
5+
- fix: removes extra line break from json file
6+
- fix: updates the generated version number
7+
- fix: fixes bug where the tool fails to read system environments
8+
39
## 2.1.0
410

511
- feat: won't override the values in config `.json`, unless `--force` flag is used.

lib/src/utility/src/json_configuration_generator.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ class JsonConfigurationGenerator extends ConfigurationGenerator {
3636
{{#$kVariablesKey}}
3737
"{{$kNameKey}}": {{$kValueKey}}{{$kLineEnding}}
3838
{{/$kVariablesKey}}
39-
}
40-
''';
39+
}''';
4140

4241
final template = Template(
4342
mustacheSource,

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: dart_define
22
description: Utility for generating and populating dart-define config files
3-
version: 2.1.0
3+
version: 2.1.1
44
homepage: https://mankeli.co
55
repository: https://github.com/Mankeli-Software/dart_define
66

0 commit comments

Comments
 (0)