Fix option name

This commit is contained in:
Jordan Eldredge 2022-02-19 02:01:34 -05:00
parent 3c09e53458
commit 2bf9321a12

View file

@ -180,9 +180,9 @@ program
"--upload-new",
"Find newly uploaded skins, and publish them to the Internet Archive."
)
.action(async ({ metadata, webampLinks, fetchItems, upload }) => {
if (metadata) {
await fillMissingMetadata(Number(metadata || 1000));
.action(async ({ fetchMetadata, webampLinks, fetchItems, upload }) => {
if (fetchMetadata) {
await fillMissingMetadata(Number(fetchMetadata || 1000));
}
if (webampLinks) {
await ensureWebampLinks();