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
before being able to preview the website which had a pinned hugo version.
I think we should either:
add force = TRUE in the error message advice
make install_hugo only message with 'It seems Hugo has been installed. Use force = TRUE to reinstall or upgrade.' if the version is the same as the one provided in version =
What do you think ?
The text was updated successfully, but these errors were encountered:
The argument force = TRUE is no longer useful, so I just deprecated it. It was there originally only because install_hugo() may install Hugo to a place in PATH, and I wanted to avoid the unnecessary install when it could be detected in PATH. Thanks!
When you try to run a blogdown site with the wrong hugo version, you now get an error message
The advice is to run
blogdown::install_hugo()
with correct version, but withoutforce = TRUE
it won't install the asked version.So it is one more step to run
before being able to preview the website which had a pinned hugo version.
I think we should either:
force = TRUE
in the error message adviceinstall_hugo
only message with'It seems Hugo has been installed. Use force = TRUE to reinstall or upgrade.'
if the version is the same as the one provided inversion =
What do you think ?
The text was updated successfully, but these errors were encountered: