Skip to content

Commit 3bf43ad

Browse files
authored
Fix object-shorthand lint error
Fix object-shorthand lint error
1 parent 5d1e75d commit 3bf43ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/source/geojson_source.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class GeoJSONSource extends Evented implements Source {
226226
* ]);
227227
*/
228228
setFilter(filter: Array): this {
229-
this.workerOptions = extend({filter: filter}, this.workerOptions);
229+
this.workerOptions = extend({filter}, this.workerOptions);
230230
this._updateWorkerData();
231231
return this;
232232
}

0 commit comments

Comments
 (0)