Skip to content

Commit

Permalink
Add @show when checking license
Browse files Browse the repository at this point in the history
  • Loading branch information
gvidigal-psr committed Mar 25, 2024
1 parent 309cfa7 commit 44c5f86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/license.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function _get_xpauthpath(xpauth_path = "", verbose::Bool = true)
# Search in `xpress/lib/../bin/xpauth.xpr`. This is a common location on
# Windows.
push!(candidates, joinpath(dirname(libdir), "bin", XPAUTH))
@show candidates
for candidate in candidates
# We assume a relative root directory of the shared library. If
# `candidate` is an absolute path, thhen joinpath will ignore libdir and
Expand All @@ -32,6 +33,7 @@ function _get_xpauthpath(xpauth_path = "", verbose::Bool = true)
if verbose && !haskey(ENV, "XPRESS_JL_NO_INFO")
@info("Xpress: Found license file $filename")
end
@show filename
return filename
end
end
Expand Down

0 comments on commit 44c5f86

Please sign in to comment.