Skip to content

Commit

Permalink
Merge pull request #9 from mermaid-js/develop
Browse files Browse the repository at this point in the history
update fork
  • Loading branch information
jgreywolf committed Dec 31, 2019
2 parents f99daa6 + 6cbbf0a commit b52744a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
## Summary
## :bookmark_tabs: Summary
Brief description about the content of your PR.

## Design Decisions
Resolves #<your issue id here>

## :straight_ruler: Design Decisions
Describe the way your implementation works or what design decisions you made if applicable.

Resolves #<your issue id here>
### :clipboard: Tasks
Make sure you
- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md)
- [ ] :computer: have added unit/e2e tests (if appropriate)
- [ ] :bookmark: targeted `develop` branch
19 changes: 19 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on: [push]

name: Static analysis

jobs:
test:
runs-on: ubuntu-latest
name: check tests
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: testomatio/check-tests@stable
with:
framework: cypress
tests: "./cypress/integration/**/**.spec.js"
token: ${{ secrets.GITHUB_TOKEN }}
has-tests-label: true

2 changes: 1 addition & 1 deletion src/diagrams/flowchart/flowDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const addVertex = function(_id, text, type, style, classes) {
if (typeof text !== 'undefined') {
txt = sanitize(text.trim());

// strip quotes if string starts and exnds with a quote
// strip quotes if string starts and ends with a quote
if (txt[0] === '"' && txt[txt.length - 1] === '"') {
txt = txt.substring(1, txt.length - 1);
}
Expand Down

0 comments on commit b52744a

Please sign in to comment.