Skip to content

Commit

Permalink
add quotes subs if run jetty output starts with double asterisk
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Feb 15, 2024
1 parent 2e04cc9 commit bdde641
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/jetty-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function createExtensionGroup (context) {
const includeContents = execFileSync('java', args, { stdio: 'pipe', windowsHide: true }).toString().trim()
if (includeContents) {
//console.log(includeContents)
if (includeContents.startsWith('**')) attrs.subs = '+quotes'
return this.createBlock(parent, 'literal', includeContents, attrs)
} else {
log(doc, 'error', `${MAIN_CLASS} no output`, cursor)
Expand Down

0 comments on commit bdde641

Please sign in to comment.