Closed robinknaapen closed 5 years ago
I have the same problem
A workaround is to set $TMPDIR
to some accessible location eg: export TMPDIR=$HOME/tmp
🤔 This must be caused but the latest version which first creates the generated file to a temp file and the moves it.
Thanks for the workaround Robin
This is caused by 2615c451cef481904bad24495084d0bfeeb5a3d1. It should generate the file as "output name" + random suffix (ideally using mkstemp() to avoid races, or at least put the temporary file in output dir).
When using enumer in a CI environment I encounter this issue.
Due to how the container is sandboxed, this is not possible in my case.
In my opinion this should be a setting?