Merge pull request #896 from keizie/fix-monolith-error

fix(monolith): quote url
This commit is contained in:
Daniel 2024-11-29 23:31:10 -05:00 committed by GitHub
commit e6f43bbbfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ const handleMonolith = async (link: Link, content: string) => {
try { try {
let html = execSync( let html = execSync(
`monolith - -I -b ${link.url} ${ `monolith - -I -b "${link.url}" ${
process.env.MONOLITH_CUSTOM_OPTIONS || "-j -F -s" process.env.MONOLITH_CUSTOM_OPTIONS || "-j -F -s"
} -o -`, } -o -`,
{ {