Fix CLI argument logic again

This commit is contained in:
Preston 2020-12-20 21:28:24 -05:00
parent e1a031bd88
commit 176d88bb0c
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ function baseUrl(arg) {
}
function getLinkUrl(argv) {
if (argv.length > 0) {
if (argv.length > 1) {
return baseUrl(argv[argv.length - 1])
} else {
return null