mirror of
https://github.com/atom/atom.git
synced 2026-02-14 00:25:08 -05:00
Add explicit return after for loop
This commit is contained in:
@@ -110,6 +110,7 @@ class Workspace extends Model
|
||||
packageNames.push(packageName)
|
||||
for scopeName in includedGrammarScopes ? []
|
||||
addGrammar(atom.grammars.grammarForScopeName(scopeName))
|
||||
return
|
||||
|
||||
editors = @getTextEditors()
|
||||
addGrammar(editor.getGrammar()) for editor in editors
|
||||
|
||||
Reference in New Issue
Block a user