We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b9e34c commit fc3894eCopy full SHA for fc3894e
src/commands/crawl.js
@@ -171,7 +171,9 @@ command.handler = async function(argv) {
171
hostname,
172
];
173
174
- crawl.domainWhitelist.push(argv['extra-domains'].split(',').map((d) => d.trim()));
+ if (argv['extra-domains']) {
175
+ crawl.domainWhitelist.push(argv['extra-domains'].split(',').map((d) => d.trim()));
176
+ }
177
178
const fetchCallback = async function(queueItem, responseBuffer, response) {
179
const extraItems = [];
0 commit comments