Remove project path from state so it doesn't replicate

This commit is contained in:
Kevin Sawicki
2013-07-23 11:40:19 -07:00
parent 4c912f4538
commit 4fff0b9792
2 changed files with 2 additions and 2 deletions

View File

@@ -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')))