mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Window without pathToOpen should also has meaningful windowStatePath.
This commit is contained in:
@@ -201,7 +201,7 @@ window.atom =
|
||||
|
||||
getWindowStatePath: ->
|
||||
if not @getPathToOpen()
|
||||
'probably-a-spec-window'
|
||||
fsUtils.join(config.userStoragePath, 'undefined')
|
||||
else
|
||||
shasum = crypto.createHash('sha1')
|
||||
shasum.update(@getPathToOpen())
|
||||
|
||||
Reference in New Issue
Block a user