mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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))
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user