Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Hopefully third time is enough to fix the Windows bug #16
Browse files Browse the repository at this point in the history
  • Loading branch information
TeroFrondelius committed Feb 15, 2017
1 parent 45f5be5 commit 191619b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/linter-julia.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ module.exports =
activate: ->
tempfil = tmp.tmpNameSync({ prefix:'lintserver',postfix: 'sock'})
if process.platform == 'win32'
global.named_pipe = '\\\\.\\pipe\\' + tempfil.split("\\").pop()
tmpstr = '\\\\.\\pipe\\' + tempfil.split("\\").pop()
global.named_pipe = tmpstr.replace(/\\/g,"\\\\")
else
global.named_pipe = tempfil
jcode = "using Lint; lintserver(\"#{named_pipe}\")"
Expand Down

0 comments on commit 191619b

Please sign in to comment.