(msg, options)
| 397 | } |
| 398 | |
| 399 | formatMessage(msg, options) { |
| 400 | if (options.quotedMailIndent) { |
| 401 | msg = msg.replace(/^(.|\n)/gm, '> $&'); |
| 402 | } |
| 403 | if (options.quotedMailHeader) { |
| 404 | msg = `${options.quotedMailHeader}\n${msg}`; |
| 405 | } |
| 406 | if (options.quotedMailIndent || options.quotedMailHeader) { |
| 407 | msg = `\n\n${msg}`; |
| 408 | } |
| 409 | if (options.predefinedText) { |
| 410 | msg = `${msg}\n\n${options.predefinedText}`; |
| 411 | } |
| 412 | return msg; |
| 413 | } |
| 414 | |
| 415 | async decryptFiles(encFiles) { |
| 416 | try { |
no outgoing calls
no test coverage detected