@medicus.ai/medicus-report-pdf-generator 1.0.320 → 1.0.321
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -233,8 +233,7 @@ module.exports = {
|
|
|
233
233
|
// Write original PDF (unencrypted)
|
|
234
234
|
fs.writeFileSync(PDF_FILE_PATH, fileBuffer);
|
|
235
235
|
|
|
236
|
-
|
|
237
|
-
if (!fs.existsSync(QPDF_PATH)) throw new Error(`qpdf not found at ${QPDF_PATH}`);
|
|
236
|
+
|
|
238
237
|
|
|
239
238
|
(async () => {
|
|
240
239
|
const qpdf = await import('node-qpdf2');
|