mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-10-19 14:04:32 +07:00
node_modules: update (#349)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
1 parent
9d0c26ec8b
commit
0a1f5db16c
36 files changed
+1934
-648
No files matched your search
+3
-2
@@ -128,8 +128,9 @@ class DKIMSigner {
|
||||
}
|
||||
createWriteCache() {
|
||||
this.output.usingCache = true;
|
||||
// pipe remainings to cache file
|
||||
this.cache = fs.createWriteStream(this.cachePath);
|
||||
// pipe remainings to cache file. It holds the message body and cacheDir is often a
|
||||
// shared directory such as /tmp, so nobody but the owner gets to read it
|
||||
this.cache = fs.createWriteStream(this.cachePath, { mode: 0o600 });
|
||||
this.cache.once('error', err => {
|
||||
// drain input
|
||||
this.relaxedBody.unpipe(this.cache);
|
||||
|
||||
Reference in new issue
Block a user