Skip to content

Commit e398091

Browse files
authored
Merge pull request #44 from common-workflow-language/default-type
Add quotes to distinguish String default values
2 parents 88790bd + 9db7a71 commit e398091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/commonwl/viewer/domain/CWLCollection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ private String extractDefault(JsonNode node) {
392392
if (node.get(DEFAULT).has(LOCATION)) {
393393
return node.get(DEFAULT).get(LOCATION).asText();
394394
} else {
395-
return node.get(DEFAULT).asText();
395+
return "\\\"" + node.get(DEFAULT).asText() + "\\\"";
396396
}
397397
}
398398
return null;

0 commit comments

Comments
 (0)