mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Update initial paths with local paths only
This commit is contained in:
@@ -763,7 +763,8 @@ class Atom extends Model
|
||||
# Notify the browser project of the window's current project path
|
||||
watchProjectPath: ->
|
||||
@disposables.add @project.onDidChangePaths =>
|
||||
@constructor.updateLoadSetting('initialPaths', @project.getPaths())
|
||||
@constructor.updateLoadSetting('initialPaths',
|
||||
@project.getPaths().filter((projectPath) -> fs.existsSync(projectPath)))
|
||||
|
||||
exit: (status) ->
|
||||
app = remote.require('app')
|
||||
|
||||
Reference in New Issue
Block a user