Browse Source

fix: regex error

pull/5/head
Diary Narindra 5 months ago
parent
commit
38236bb0a4
  1. 4
      src/models/file.js

4
src/models/file.js

@ -335,7 +335,9 @@ class File {
}
}
}
return result.map((res)=>res.replace(/;/g, ','));
return result.map((res)=>{
return typeof res === "string" ? res.replace(/;/g, ',') : res
});
}
}

Loading…
Cancel
Save