Skip to content

Commit b27e693

Browse files
committed
Use spread operator and fixed indentation to satisfy tests
1 parent 39a0adb commit b27e693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/atom-cfn-lint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = {
125125

126126
this.grammarScopes = ['source.yaml', 'source.json']
127127
if (Array.isArray(this.extraGrammarScopes) && this.extraGrammarScopes.length) {
128-
this.grammarScopes.push.apply(this.grammarScopes, this.extraGrammarScopes)
128+
this.grammarScopes.push(...this.extraGrammarScopes)
129129
}
130130

131131
scheduleIdleTasks()

0 commit comments

Comments
 (0)