opal/zeitwerk/loader/config.rb in opal-zeitwerk-0.4.4 vs opal/zeitwerk/loader/config.rb in opal-zeitwerk-0.4.5

- old
+ new

@@ -111,11 +111,10 @@ abspath = File.expand_path(path) if dir?(abspath) raise_if_conflicting_directory(abspath) root_dirs[abspath] = namespace else - warn_string = "Zeitwerk: the root path #{abspath} does not exist, not added" - `console.warn(warn_string)` + STDERR.puts "Zeitwerk: the root path #{abspath} does not exist, not added" end end # Returns the loader's tag. #