Merge branch 'master' into as-file-recovery-service

This commit is contained in:
Antonio Scandurra 2016-05-26 12:01:50 +02:00
commit 5e0e65b2e0

View File

@ -455,6 +455,9 @@ class AtomApplication
# :window - {AtomWindow} to open file paths in.
# :addToLastWindow - Boolean of whether this should be opened in last focused window.
openPaths: ({initialPaths, pathsToOpen, executedFrom, pidToKillWhenClosed, newWindow, devMode, safeMode, windowDimensions, profileStartup, window, clearWindowState, addToLastWindow, env}={}) ->
if not pathsToOpen? or pathsToOpen.length is 0
return
devMode = Boolean(devMode)
safeMode = Boolean(safeMode)
clearWindowState = Boolean(clearWindowState)