diff options
author | Joao Moreno <jomo@microsoft.com> | 2018-06-14 13:05:39 +0300 |
---|---|---|
committer | Joao Moreno <jomo@microsoft.com> | 2018-06-14 13:05:39 +0300 |
commit | 7c8a164902cfa23c033c9c799dd2737dea3490a7 (patch) | |
tree | bc6f21aa692b6840d194c3994de11d2028bbfe7e /src/cli.js | |
parent | bd799550fe9057bf9aa2ef1dbd5c52971b23d3ed (diff) |
product.portableTemp
Diffstat (limited to 'src/cli.js')
-rw-r--r-- | src/cli.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.js b/src/cli.js index 49f934d092a..6712d3ae003 100644 --- a/src/cli.js +++ b/src/cli.js @@ -24,7 +24,7 @@ function getPortableDataPath() { return path.join(path.dirname(getApplicationPath()), product.portable); } -if (product.portable) { +if (product.portable && product.portableTemp) { const portablePath = getPortableDataPath(); try { fs.mkdirSync(portablePath); } catch (err) { if (err.code !== 'EEXIST') { throw err; } } |