Skip to content

Commit

Permalink
Merge pull request #42 from Ericsson/issue#9
Browse files Browse the repository at this point in the history
diagram type check fix, resolve #9
  • Loading branch information
vareb authored Jan 22, 2025
2 parents 41a3633 + 1cf874b commit df237de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plantuml_gui/static/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -3542,7 +3542,7 @@ function restoreeditor() {
}

function checkIfActivityDiagram(puml) {
const activityKeywords = ["if", "while", "fork", "repeat", "switch", ":", "start", "end", "stop"];
const activityKeywords = ["if", "while", "fork", "repeat", "switch", ":", "start", "stop"];
const notActivityKeywords = ["state", "actor", "boundary", "control", "entity", "database", "collections", "queue"]
const lines = puml.split('\n');

Expand Down

0 comments on commit df237de

Please sign in to comment.