You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like I should be able to disable this with SitemapGenerator.verbose = false. But this does not work, the output is still there.
Debugging... the verbose flag is somehow being set to <Object:0x00007fc92aa54470>, what? Trying to debug this, there's a lot of abstract indirection making it hard....
It's getting that verbose value from Rake itself. Indeed I am testing by running Rake::Task["sitemap:create"].invoke
So it appears when running the rake task, the rake setting for "verbose" takes priority, and SitemapGenerator.verbose is ignored. OK, that could be intended?
The text was updated successfully, but these errors were encountered:
I have an automated test of my sitemap generation.
This causes the sitemap_generator output to annoyingly show up in the middle of my test output, when I run tests over that. Eg.
It looks like I should be able to disable this with
SitemapGenerator.verbose = false
. But this does not work, the output is still there.Debugging... the
verbose
flag is somehow being set to<Object:0x00007fc92aa54470>
, what? Trying to debug this, there's a lot of abstract indirection making it hard....Aha, right here:
sitemap_generator/lib/sitemap_generator/tasks.rb
Line 51 in 92c612c
It's getting that
verbose
value from Rake itself. Indeed I am testing by runningRake::Task["sitemap:create"].invoke
So it appears when running the rake task, the rake setting for "verbose" takes priority, and
SitemapGenerator.verbose
is ignored. OK, that could be intended?The text was updated successfully, but these errors were encountered: