mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
fix(child-writer): Ensure tmpdir path has trailing slash (#1849)
There's a bug in node-ipc which doesn't allow it to handle tmpdirs without trailing slashes; this works around this bug. Change-Type: patch
This commit is contained in:
parent
55d043a626
commit
bb4e6c74e0
@ -31,7 +31,7 @@ module.exports = {
|
||||
* @memberof CONSTANTS
|
||||
* @constant
|
||||
*/
|
||||
TMP_DIRECTORY: process.env.XDG_RUNTIME_DIR || os.tmpdir(),
|
||||
TMP_DIRECTORY: path.join(process.env.XDG_RUNTIME_DIR || os.tmpdir(), path.sep),
|
||||
|
||||
/**
|
||||
* @property {String} PROJECT_ROOT
|
||||
|
Loading…
x
Reference in New Issue
Block a user