Skip to content

Commit 1fd30d6

Browse files
authored
fix: Ignoring result from pure array method
1 parent ce27d98 commit 1fd30d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/style-spec/expression/definitions

src/style-spec/expression/definitions/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class Config implements Expression {
165165
serialize(): SerializedExpression {
166166
const res = ["config", this.key];
167167
if (this.scope) {
168-
res.concat(this.scope);
168+
res.push(this.scope);
169169
}
170170
return res;
171171
}

0 commit comments

Comments
 (0)