Skip to content

fix: import pdf-parse safely - #2

Merged
ElliotPadfield merged 1 commit into
mainfrom
codex/fix-enoent-error-for-pdf-file
Aug 26, 2025
Merged

fix: import pdf-parse safely#2
ElliotPadfield merged 1 commit into
mainfrom
codex/fix-enoent-error-for-pdf-file

Conversation

@ElliotPadfield

Copy link
Copy Markdown
Owner

Summary

  • use createRequire to load pdf-parse without triggering debug code that expects local test data

Testing

  • npm run build
  • timeout 1 node dist/index.js

https://chatgpt.com/codex/tasks/task_e_68adc25a58ac832096c542342764c14d

@ElliotPadfield
ElliotPadfield merged commit 006f38d into main Aug 26, 2025
1 check passed
@ElliotPadfield
ElliotPadfield deleted the codex/fix-enoent-error-for-pdf-file branch August 26, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant