Skip to content

Commit 95f3c32

Browse files
clean up
1 parent 10262d7 commit 95f3c32

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/flutter.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,6 @@ jobs:
4646
repository: 'optimizely/travisci-tools'
4747
path: 'home/runner/travisci-tools'
4848
ref: 'master'
49-
# Set SDK Branch based on input or PR/Push
50-
# - name: Set SDK Branch and Test App Branch
51-
# run: |
52-
# # If manually triggered
53-
# if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
54-
# echo "SDK_BRANCH=${{ github.event.inputs.sdk_branch || 'master' }}" >> $GITHUB_ENV
55-
# echo "TESTAPP_BRANCH=${{ github.event.inputs.testapp_branch || 'master' }}" >> $GITHUB_ENV
56-
# # If triggered by PR
57-
# elif [[ "${{ github.event_name }}" == "pull_request" ]]; then
58-
# echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
59-
# # If triggered by push
60-
# else
61-
# echo "SDK_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
62-
# echo "TRAVIS_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
63-
# fi
6449
- name: set SDK Branch if PR
6550
env:
6651
HEAD_REF: ${{ github.head_ref }}

lib/src/utils/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Utils {
9898
if (value is Map) {
9999
// Handle nested maps
100100
Map<String, dynamic> nestedMap = {};
101-
(value as Map).forEach((k, v) {
101+
value.forEach((k, v) {
102102
dynamic processedValue = _processValue(v);
103103
if (processedValue != null) {
104104
nestedMap[k.toString()] = processedValue;

0 commit comments

Comments
 (0)