Skip to content

Commit

Permalink
Fix compat issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtlake committed Aug 5, 2016
1 parent f01fa27 commit 1113534
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions REQUIRE
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ julia 0.4
Match
TOML
FiniteStateMachine
Compat
5 changes: 3 additions & 2 deletions src/Juliet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module Juliet

using FiniteStateMachine
using Match
using Compat

include("types.jl")
include("convert.jl")
Expand Down Expand Up @@ -296,9 +297,9 @@ function setup_function_file(question::Types.FunctionQuestion)
end
end

@static if is_windows()
@compat @static if is_windows()
Util.run(`explorer.exe $file`; whitelist=[1])
elseif is_linux()
elseif is_linux()
run(`xdg-open $file`)
elseif is_apple()
try
Expand Down

0 comments on commit 1113534

Please sign in to comment.