Skip to content

Commit 3474fea

Browse files
authored
Pass process json dicts in ci.yaml. (#2293)
This is to make the behavior consistent for json lists and dictionaries. Bug: flutter/flutter#114656
1 parent 6950ea0 commit 3474fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app_dart/lib/src/model/ci_yaml/target.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class Target {
220220
return true;
221221
} else if (value == 'false') {
222222
return false;
223-
} else if (value.startsWith('[')) {
223+
} else if (value.startsWith('[') || value.startsWith('{')) {
224224
return jsonDecode(value) as Object;
225225
} else if (newLineIssues.contains(key)) {
226226
return value.replaceAll('\\n', '\n');

0 commit comments

Comments
 (0)