Skip to content

Commit f5213cf

Browse files
authored
Pkg.generate should use stderr. (#2870)
1 parent 19ec432 commit f5213cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is a part of Julia. License is MIT: https://julialang.org/license
22

3-
function generate(path::String; io::IO=stdout_f())
3+
function generate(path::String; io::IO=stderr_f())
44
base = basename(path)
55
pkg = endswith(lowercase(base), ".jl") ? chop(base, tail=3) : base
66
Base.isidentifier(pkg) || pkgerror("$(repr(pkg)) is not a valid package name")

0 commit comments

Comments
 (0)