You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to use the docs command to create or update our guides in an automated way in a CI pipeline, but instead of updating a doc that exists, the CLI keeps creating a new one. I have the slug for the doc defined in the front matter of the markdown file and the file name matches this slug.
Looking at the source code for the command here it looks like when the updateDoc function is called it gets passed undefined for existingDoc parameter, which should raise an error in the if-check in the beginning of the function, which makes it always create the doc instead.
The text was updated successfully, but these errors were encountered:
Hi, I am trying to use the docs command to create or update our guides in an automated way in a CI pipeline, but instead of updating a doc that exists, the CLI keeps creating a new one. I have the slug for the doc defined in the front matter of the markdown file and the file name matches this slug.
Looking at the source code for the command here it looks like when the
updateDoc
function is called it gets passed undefined forexistingDoc
parameter, which should raise an error in the if-check in the beginning of the function, which makes it always create the doc instead.The text was updated successfully, but these errors were encountered: