parent
6358d087c2
commit
bb7d65f0eb
@ -9,7 +9,7 @@ const {
|
||||
const { tokenizeString } = require("../../utils/tokenizer");
|
||||
const { default: slugify } = require("slugify");
|
||||
|
||||
async function asMbox({ fullFilePath = "", filename = "" }) {
|
||||
async function asMbox({ fullFilePath = "", filename = "", options = {} }) {
|
||||
console.log(`-- Working ${filename} --`);
|
||||
|
||||
const mails = await mboxParser(fs.createReadStream(fullFilePath))
|
||||
|
||||
@ -8,7 +8,11 @@ const {
|
||||
const { tokenizeString } = require("../../utils/tokenizer");
|
||||
const { default: slugify } = require("slugify");
|
||||
|
||||
async function asOfficeMime({ fullFilePath = "", filename = "" }) {
|
||||
async function asOfficeMime({
|
||||
fullFilePath = "",
|
||||
filename = "",
|
||||
options = {},
|
||||
}) {
|
||||
console.log(`-- Working ${filename} --`);
|
||||
let content = "";
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user