mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Only set project paths if non-empty
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports =
|
||||
unless @fuzzyFinderView
|
||||
FuzzyFinderView = require 'fuzzy-finder/lib/fuzzy-finder-view'
|
||||
@fuzzyFinderView = new FuzzyFinderView()
|
||||
if @projectPaths? and not @fuzzyFinderView.projectPaths?
|
||||
if @projectPaths?.length > 0 and not @fuzzyFinderView.projectPaths?
|
||||
@fuzzyFinderView.projectPaths = @projectPaths
|
||||
@fuzzyFinderView.reloadProjectPaths = false
|
||||
@fuzzyFinderView
|
||||
|
||||
Reference in New Issue
Block a user