Skip to content

Commit

Permalink
Merge pull request #155 from rofinn/rf/include-compat-fix
Browse files Browse the repository at this point in the history
mapexpr wasn't introduced till 1.5
  • Loading branch information
rofinn authored Nov 24, 2021
2 parents 0eb6a7a + 27b2469 commit 80e49ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name = "FilePathsBase"
uuid = "48062228-2e41-5def-b9a4-89aafe57970f"
authors = ["Rory Finnegan"]
version = "0.9.16"
version = "0.9.17"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Mmap = "a63ad114-7e13-5084-954f-fe012c677804"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

[compat]
Compat = "3.33"
julia = "1"

[extras]
Expand Down
1 change: 1 addition & 0 deletions src/FilePathsBase.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module FilePathsBase

using Compat
using Dates
using Mmap
using Printf
Expand Down
2 changes: 1 addition & 1 deletion src/system.jl
Original file line number Diff line number Diff line change
Expand Up @@ -400,5 +400,5 @@ end
Mmap.mmap(fp::SystemPath, args...; kwargs...) = Mmap.mmap(string(fp), args...; kwargs...)

function Base.include(mapexpr::Function, m::Module, path::SystemPath)
Base.include(mapexpr, m, string(path))
return Base.include(mapexpr, m, string(path))
end

0 comments on commit 80e49ae

Please sign in to comment.