Skip to content

Conversation

@edarzins
Copy link

When processing NAP metadata for potential changes, the case when the NAP metadata doesn't exist wasn't handled.

Added unit test too.

Proposed changes

Fix: Don't return an error when the app_protect_metadata.json file doesn't exist, continue processing to create the file.
Added a unit test to verify fix.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md)

When processing NAP metadata for potential changes, the case
when the NAP metadata doesn't exist wasn't handled.

Added unit test too.
@netlify
Copy link

netlify bot commented Jan 18, 2023

Deploy Preview for agent-public-docs canceled.

Name Link
🔨 Latest commit 315c32f
🔍 Latest deploy log https://app.netlify.com/sites/agent-public-docs/deploys/63c778be2160b5000827d988

@dhurley dhurley added the bug Something isn't working label Jan 18, 2023
@dhurley dhurley merged commit 4b10f8f into nginx:main Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants