Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipVinc committed Jan 18, 2022
1 parent 034b6aa commit 3218757
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PyPreferences.jl/src/which.jl
@@ -1,3 +1,7 @@
# This file vendors the utility `Sys.which` for Julia versions prior to 1.7,
# as in 1.6 it called `realpath` and therefore breaks virtual environment
# detection. (Without this, all `test/test_venv.jl` would fail).

@static if VERSION >= v"1.7.0"
const _which = Sys.which
else
Expand Down

0 comments on commit 3218757

Please sign in to comment.