mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 01:53:51 +02:00
Fix
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = class ScreenshotCommand extends Command {
|
|||||||
key: 'site',
|
key: 'site',
|
||||||
prompt: 'What webpage do you want to take a screenshot of?',
|
prompt: 'What webpage do you want to take a screenshot of?',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
validate: site => validURL.isWebUri(site)
|
validate: site => Boolean(validURL.isWebUri(site))
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user