mermaid-filter icon indicating copy to clipboard operation
mermaid-filter copied to clipboard

Add option to disable creation of mermaid-filter.err

Open CmdrSharp opened this issue 2 years ago • 4 comments

Currently, mermaid-filter fails on read-only filesystems (which is not uncommon in Docker, for example). This log file should, I feel, be optional. Along with that, perhaps an argument to specify a path for it would be good?

CmdrSharp avatar Jun 07 '22 20:06 CmdrSharp

It would be particularly nice to avoid creating this file when there aren't any errors.

chasecaleb avatar Sep 03 '22 02:09 chasecaleb

Can you pls try this branch out? tq

raghur avatar Oct 01 '22 06:10 raghur

@raghur Hi, so sorry I just realized you're probably waiting for a response from me. Unfortunately I don't have a straightforward way to test out a branch that isn't published on NPM. When you merge and publish NPM then I'm happy to try it out, though.

I skimmed the PR and it looks sane to me, if that's any help. Sorry about that.

chasecaleb avatar Oct 28 '22 01:10 chasecaleb

I'd prefer a mode that just doesn't write any files at all.

ghosty141 avatar Jan 30 '23 10:01 ghosty141