Skip to content

Commit 289a848

Browse files
ghyatzojuliohm
andauthored
better ScopedValue versioning
Co-authored-by: Júlio Hoffimann <julio.hoffimann@gmail.com>
1 parent cc27e08 commit 289a848

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ScopedValues = "7e506255-f358-4e82-b7e4-beb19740aa63"
1212
HTTP = "1"
1313
JSON = "0.21"
1414
ScopedValues = "1.3.0"
15-
julia = "1.8"
15+
julia = "1"
1616

1717
[extras]
1818
GRIB = "b16dfd50-4035-11e9-28d4-9dfe17e6779b"

src/CDSAPI.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ module CDSAPI
33
using HTTP
44
using JSON
55

6-
if VERSION >= v"1.11"
7-
using Base.ScopedValues
8-
elseif VERSION >= v"1.8"
9-
using ScopedValues
10-
end
6+
using ScopedValues
117

128
export with
139

0 commit comments

Comments
 (0)