Since files passed in command line won't trigger 'open-file' any more, there is no need to clean duplicate paths.

It also seems that there is a typo...
This commit is contained in:
Cheng Zhao
2013-05-31 10:28:18 +08:00
parent 0c7701dc57
commit c36fc467e6

View File

@@ -25,7 +25,6 @@ delegate.browserMainParts.preMainMessageLoopRun = ->
args.pathsToOpen = args.pathsToOpen.map (pathToOpen) ->
path.resolve(args.executedFrom ? process.cwd(), pathToOpen)
args.pathToOpen = _.uniq(args.pathsToOpen)
AtomApplication.open(args)