Skip to content

Commit 18ea707

Browse files
committed
correct group number
1 parent f35ceb3 commit 18ea707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ install_hugo = function(
6464
message('The latest Hugo version is ', version)
6565
} else {
6666
if (!is.null(local_file)) version = gsub(
67-
'^hugo(_extended)(_withdeploy)?_([0-9.]+)_.*', '\\2', basename(local_file)
67+
'^hugo(_extended)(_withdeploy)?_([0-9.]+)_.*', '\\3', basename(local_file)
6868
)
6969
}
7070

0 commit comments

Comments
 (0)