jovotech / jovo-cli

🛠 Command Line Interface for the Jovo Framework: Makes voice experience deployment a breeze, including features like local development and staging.
https://www.jovo.tech/marketplace/jovo-cli
Apache License 2.0
57 stars 32 forks source link

skill.json can contain stale examplePhrases & keywords #96

Open chrisjoj opened 4 years ago

chrisjoj commented 4 years ago

I'm submitting a...

Expected Behavior

When the examplePhrases or keywords in project.js are changed, the changes should be mirrored in the generated platforms/alexaSkill/skill.json.

Current Behavior

If the number of entries in project.js is reduced, stale entries can be left in the skill.json. I have found this issue with examplePhrases and keywords, but may affect other information that is in arrays.

Steps to reproduce

Workaround

Current workaround is to delete platforms/ folder before running jovo build

Error log

No error is generated

Your Environment

rubenaeg commented 3 years ago

This is still a bug and we'll work on fixing this. As a workaround, try jovo build --clean. This will automatically delete the platforms/alexaSkill/ folder before building again.