mirror of
https://github.com/atom/atom.git
synced 2026-02-18 18:34:21 -05:00
Remove project path from state so it doesn't replicate
This commit is contained in:
@@ -60,7 +60,7 @@ class Project
|
||||
|
||||
if pathOrState instanceof telepath.Document
|
||||
@state = pathOrState
|
||||
if projectPath = @state.get('path')
|
||||
if projectPath = @state.remove('path')
|
||||
@setPath(projectPath)
|
||||
else
|
||||
@setPath(@pathForRepositoryUrl(@state.get('repoUrl')))
|
||||
|
||||
Reference in New Issue
Block a user