Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Exclude from published package (see https://dart.dev/go/pubignore).
.DS_Store
test/.DS_Store
test/mock/.DS_Store
coverage/
coverage_badge.svg
4 changes: 1 addition & 3 deletions lib/src/helper/Automate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ class Automate {
if (availableKeys.length == 1) {
var varContent = entry[key];
if (varContent is String || varContent is List || varContent is Map) {
if (callback != null) {
entry[key] = callback(varContent);
}
entry[key] = callback(varContent);
}
} else {
availableKeys.remove(key);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: contentstack_utils
description: Utils package for Contentstack-dart
version: 1.1.1
version: 2.0.0
homepage: https://www.contentstack.com

environment:
Expand Down
Binary file removed test/.DS_Store
Binary file not shown.
Binary file removed test/mock/.DS_Store
Binary file not shown.
Loading