Skip to content

Commit a139c20

Browse files
committed
Don't use info and warn functions
1 parent 4679502 commit a139c20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/convenience.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function yes_or_no(prompt = string("Type \"yes\" and press enter if ",
7373
elseif answer == "no"
7474
return false
7575
end
76-
warn("Please enter \"yes\" or \"no\". Got: $answer")
76+
@warn "Please enter \"yes\" or \"no\". Got: $answer"
7777
return false
7878
end
7979

@@ -130,20 +130,20 @@ function install_dependency(package; force=false, dry_run=false)
130130
pip_installation]
131131
found, message, install = check_installer(package)
132132
if found
133-
info(message)
133+
@info message
134134
if !dry_run && (force || yes_or_no())
135135
install()
136136
end
137137
return
138138
end
139139
end
140-
warn("Installing $package not supported.")
140+
@warn "Installing $package not supported."
141141
end
142142

143143

144144
function test_replhelper()
145145
command = `$(PyCall.pyprogramname) -m pytest`
146-
info(command)
146+
@info command
147147
cd(@__DIR__) do
148148
run(command)
149149
end

0 commit comments

Comments
 (0)