Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Fix bug in 'updateDocs' when latest version has no 'content/casts' #171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

milesrichardson
Copy link
Contributor

This fixes a bug in the update-docs script of content-scripts, which caused it to fail on any subsequent runs after merging of #160 (which included a latest version missing asciinemas)

Merging this is non-urgent, but we just need this fix before the next time we run yarn run update-docs (which is manual for now).

- Since latest version (as of v0.3.0) does not include
the 'content/casts' root, but the code includes it as part of
the 'paths.asciinema' root, the script was failing when
copying the "latest" version of asciinema from the archive
directory, since it didn't exist
- To fix this, change the thrown error to a printed warning instead,
since this should be tolerable
@Gelio
Copy link
Contributor

Gelio commented Jul 1, 2022

This PR will soon no longer be relevant in this repository. See #192. If it is still needed, please raise it again in the parent monorepo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants