mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
fix: clone if editor doesnt exist in script
This commit is contained in:
@@ -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/
|
||||
|
Reference in New Issue
Block a user