Skip to content

Commit 9db7a71

Browse files
author
Mark Robinson
committed
Add quotes to distinguish String default values
1 parent 7818a9c commit 9db7a71

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)