mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
fix: clone if editor doesnt exist in script
This commit is contained in:
parent
38a7a47d11
commit
ab1a2ec411
@ -19,6 +19,9 @@ pnpm build:esbuild
|
||||
pnpm build:types
|
||||
|
||||
# Clone the Mermaid Live Editor repository
|
||||
if [ ! -d "mermaid-live-editor" ]; then
|
||||
git clone --single-branch https://github.com/mermaid-js/mermaid-live-editor.git
|
||||
fi
|
||||
cd mermaid-live-editor
|
||||
git clean -xdf
|
||||
rm -rf docs/
|
||||
|
Loading…
x
Reference in New Issue
Block a user