This commit is contained in:
Dragon Fire
2021-02-28 14:53:19 -05:00
parent ad6d21d974
commit 6d9efa3aec
+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = class ScreenshotCommand extends Command {
key: 'site',
prompt: 'What webpage do you want to take a screenshot of?',
type: 'string',
validate: site => validURL.isWebUri(site)
validate: site => Boolean(validURL.isWebUri(site))
}
]
});