Skip to content

Follow-up fixes for Amazon PA-API fallback#52

Merged
fumikito merged 3 commits intomasterfrom
bugfix/amazon-restriction
Dec 19, 2025
Merged

Follow-up fixes for Amazon PA-API fallback#52
fumikito merged 3 commits intomasterfrom
bugfix/amazon-restriction

Conversation

@fumikito
Copy link
Member

Summary

Follow-up fixes after merging #50:

  • Make bin/replacer.php skip missing or already-fixed vendor files instead of failing
  • Update unit tests to cover both fallback and non-fallback cases
  • Add documentation to README

Changes

  • bin/replacer.php: Skip files that don't exist or are already fixed (allows for vendor library version changes)
  • tests/test-basic.php: Test both WP_Error return (with fallback=false) and fallback HTML return
  • README.md: Add explanation of fallback behavior

Test plan

  • npm test passes locally
  • GitHub Actions CI passes

🤖 Generated with Claude Code

fumikito and others added 3 commits December 19, 2025 11:43
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
@fumikito fumikito enabled auto-merge December 19, 2025 02:51
@fumikito fumikito merged commit 22eb9a6 into master Dec 19, 2025
9 checks passed
@fumikito fumikito deleted the bugfix/amazon-restriction branch December 19, 2025 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant