Skip to content

Commit

Permalink
Use - in socket file name
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Mar 17, 2015
1 parent a64e1c9 commit eb63556
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmark/browser-process-startup.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _ = require 'underscore-plus'
temp = require 'temp'

directoryToOpen = temp.mkdirSync('browser-process-startup-')
socketPath = path.join(os.tmpdir(), "atom_#{process.env['USER']}.sock")
socketPath = path.join(os.tmpdir(), "atom-#{process.env.USER}.sock")
numberOfRuns = 10

deleteSocketFile = ->
Expand Down
2 changes: 1 addition & 1 deletion spec/integration/helpers/start-atom.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ webdriverio = require "../../../build/node_modules/webdriverio"
AtomPath = remote.process.argv[0]
AtomLauncherPath = path.join(__dirname, "..", "helpers", "atom-launcher.sh")
ChromedriverPath = path.resolve(__dirname, '..', '..', '..', 'atom-shell', 'chromedriver', 'chromedriver')
SocketPath = path.join(temp.mkdirSync("socket-dir"), "atom_#{process.env['USER']}.sock")
SocketPath = path.join(temp.mkdirSync("socket-dir"), "atom-#{process.env.USER}.sock")
ChromedriverPort = 9515

buildAtomClient = (args, env) ->
Expand Down
2 changes: 1 addition & 1 deletion src/browser/atom-application.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DefaultSocketPath =
if process.platform is 'win32'
'\\\\.\\pipe\\atom-sock'
else
path.join(os.tmpdir(), "atom_#{process.env.USER}.sock")
path.join(os.tmpdir(), "atom-#{process.env.USER}.sock")

# The application's singleton class.
#
Expand Down

0 comments on commit eb63556

Please sign in to comment.