mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Remove unneeded pack check
This commit is contained in:
committed by
Corey Johnson & Kevin Sawicki
parent
16ff07d319
commit
cd56d0a1d2
@@ -25,7 +25,7 @@ _.extend atom,
|
||||
pack = Package.build(path)
|
||||
@loadedPackages.push(pack)
|
||||
if pack instanceof TextMatePackage and fs.base(pack.path) isnt 'text.tmbundle'
|
||||
textMatePackages.push(pack) if pack
|
||||
textMatePackages.push(pack)
|
||||
else
|
||||
pack.load()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user