Skip to content

Commit 80e49ae

Browse files
authored
Merge pull request #155 from rofinn/rf/include-compat-fix
mapexpr wasn't introduced till 1.5
2 parents 0eb6a7a + 27b2469 commit 80e49ae

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
name = "FilePathsBase"
22
uuid = "48062228-2e41-5def-b9a4-89aafe57970f"
33
authors = ["Rory Finnegan"]
4-
version = "0.9.16"
4+
version = "0.9.17"
55

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

1314
[compat]
15+
Compat = "3.33"
1416
julia = "1"
1517

1618
[extras]

src/FilePathsBase.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module FilePathsBase
22

3+
using Compat
34
using Dates
45
using Mmap
56
using Printf

src/system.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,5 +400,5 @@ end
400400
Mmap.mmap(fp::SystemPath, args...; kwargs...) = Mmap.mmap(string(fp), args...; kwargs...)
401401

402402
function Base.include(mapexpr::Function, m::Module, path::SystemPath)
403-
Base.include(mapexpr, m, string(path))
403+
return Base.include(mapexpr, m, string(path))
404404
end

0 commit comments

Comments
 (0)