# Check my files before a deploy

Source: https://uglydev.com/docs/how-do-i-git-and-deploys/check-my-files-before-a-deploy-2/
Updated: 19 November 2026

```bash
wp ugly-fields check
```

It reads every JSON file like the builder would and exits with code `1` if one is not valid. Without WP-CLI, use **Settings → Tools → Check the JSON files**, which only reads and changes nothing. See [Reference: WP-CLI](https://uglydev.com/docs/wp-cli/check/).
