From 6d9efa3aec9730fd943b37d8c623ceb04aa6bffd Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 28 Feb 2021 14:53:19 -0500 Subject: [PATCH] Fix --- commands/other/screenshot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/other/screenshot.js b/commands/other/screenshot.js index e332e1ed..d74d79d9 100644 --- a/commands/other/screenshot.js +++ b/commands/other/screenshot.js @@ -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)) } ] });