Skip to content

Commit 9fcc49c

Browse files
committed
chore: fix ci
1 parent 53008dd commit 9fcc49c

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,11 @@ abstract class Expression implements PipelineSerializable {
205205
/// [key] and [value] are the first pair. [moreKeyValues] must be alternating
206206
/// keys and values. Setting a value to `null` keeps the key with a null value;
207207
/// use map APIs that remove keys if you need deletion semantics.
208-
Expression mapSet(Object? key, Object? value,
209-
[List<Object?>? moreKeyValues]) {
208+
Expression mapSet(
209+
Object? key,
210+
Object? value, [
211+
List<Object?>? moreKeyValues,
212+
]) {
210213
final pairs = <Expression>[_toExpression(key), _toExpression(value)];
211214
if (moreKeyValues != null) {
212215
for (final o in moreKeyValues) {
@@ -3450,8 +3453,11 @@ class _ArrayIndexOfExpression extends FunctionExpression {
34503453
final Expression element;
34513454
final bool isLast;
34523455

3453-
_ArrayIndexOfExpression(this.expression, this.element,
3454-
{required this.isLast});
3456+
_ArrayIndexOfExpression(
3457+
this.expression,
3458+
this.element, {
3459+
required this.isLast,
3460+
});
34553461

34563462
@override
34573463
String get name => 'array_index_of';

packages/cloud_firestore/cloud_firestore/pipeline_example/integration_test/pipeline/pipeline_expressions_e2e.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ void runPipelineExpressionsTests() {
872872
.execute();
873873
expectResultCount(snapshot, 1);
874874
expect(snapshot.result[0].data()!['domain_part'], '@example.com');
875-
}, skip: !kIsWeb));
875+
}, skip: !kIsWeb);
876876

877877
test('addFields regexFindAll on email', () async {
878878
final snapshot = await firestore

0 commit comments

Comments
 (0)