Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Moreno <jomo@microsoft.com>2018-06-14 13:05:39 +0300
committerJoao Moreno <jomo@microsoft.com>2018-06-14 13:05:39 +0300
commit7c8a164902cfa23c033c9c799dd2737dea3490a7 (patch)
treebc6f21aa692b6840d194c3994de11d2028bbfe7e /src/cli.js
parentbd799550fe9057bf9aa2ef1dbd5c52971b23d3ed (diff)
product.portableTemp
Diffstat (limited to 'src/cli.js')
-rw-r--r--src/cli.js2
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; } }