We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f35ceb3 commit 18ea707Copy full SHA for 18ea707
R/install.R
@@ -64,7 +64,7 @@ install_hugo = function(
64
message('The latest Hugo version is ', version)
65
} else {
66
if (!is.null(local_file)) version = gsub(
67
- '^hugo(_extended)(_withdeploy)?_([0-9.]+)_.*', '\\2', basename(local_file)
+ '^hugo(_extended)(_withdeploy)?_([0-9.]+)_.*', '\\3', basename(local_file)
68
)
69
}
70
0 commit comments