Skip to content

Commit

Permalink
fix: clone if editor doesnt exist in script
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Singh1 committed Jul 17, 2024
1 parent 38a7a47 commit ab1a2ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/editor.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit ab1a2ec

Please sign in to comment.