Skip to content

Commit

Permalink
Merge pull request #67 from yuyichao/0.6
Browse files Browse the repository at this point in the history
Fix 0.6 typealias depwarn
  • Loading branch information
Luthaf authored Feb 17, 2017
2 parents b9c3929 + 4b1715a commit 61fcdc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Conda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ else
error("Conda is not properly configured. Run Pkg.build(\"Conda\") before importing the Conda module.")
end

typealias Environment Union{AbstractString,Symbol}
const Environment = Union{AbstractString,Symbol}

"Prefix for installation of the environment"
function prefix(name::Symbol)
Expand Down
2 changes: 1 addition & 1 deletion src/bindeps_conda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type EnvManager{T} <: BinDeps.PackageManager
end

"Manager for root environment"
typealias Manager EnvManager{Symbol(PREFIX)}
const Manager = EnvManager{Symbol(PREFIX)}

function Base.show{T}(io::IO, manager::EnvManager{T})
write(io, "Conda packages: ", join(manager.packages, ", "))
Expand Down

0 comments on commit 61fcdc7

Please sign in to comment.