We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b40229 commit 545e066Copy full SHA for 545e066
1 file changed
src/bootstrap.js
@@ -263,7 +263,12 @@ exports.configurePortable = function () {
263
}
264
265
if (isTempPortable) {
266
- process.env[process.platform === 'win32' ? 'TEMP' : 'TMPDIR'] = portableTempPath;
+ if (process.platform === 'win32') {
267
+ process.env['TMP'] = portableTempPath;
268
+ process.env['TEMP'] = portableTempPath;
269
+ } else {
270
+ process.env['TMPDIR'] = portableTempPath;
271
+ }
272
273
274
return {
0 commit comments