Clearer graphcdn.yml validation errors
When you run the
graphcdn push command we immediately validate your configuration file to ensure it is correctly formatted.
However, the validation error messages were not as helpful as they should be. We have overhauled them in the latest release of the CLI (v0.4.3) to make sure they precisely explain the issue(s):
$ graphcdn push Error: Invalid graphcdn.yml: - schema: Required - defaultCacheControl.scope: Expected string, received number
Install the latest version of the CLI by running the
npm install graphcdn@latest command in your project's directory.