Skip to content

Commit 9f298b2

Browse files
committed
boundary check
1 parent 4240ef9 commit 9f298b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ module.exports = {
314314
try {
315315
const parsedUrl = parse(valuesArray[i + 1]);
316316
if (isInternal(parsedUrl, config.absoluteUrl) && parsedUrl.pathname) {
317-
splitValueLines[i + 1] = `https://api.apify.com${parsedUrl.pathname}`;
317+
if (splitValueLines[i + 1]) splitValueLines[i + 1] = `https://api.apify.com${parsedUrl.pathname}`;
318318
}
319319
} catch {
320320
// do nothing, leave the line as is

0 commit comments

Comments
 (0)