From 42ea7175b4505ed86a590ff2280a224936b5a6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Wed, 14 Nov 2018 12:44:21 +0800 Subject: [PATCH] Update adminAdapters.js --- src/js/adminAdapters.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/adminAdapters.js b/src/js/adminAdapters.js index 0ebe5f8..08aa0d8 100644 --- a/src/js/adminAdapters.js +++ b/src/js/adminAdapters.js @@ -419,7 +419,7 @@ function Adapters(main) { if (username) { - url = url.replace('https://','https://' +username + ':' + password + '@') + ' --production'; + url = url.replace('https://','https://' +username + ':' + password + '@') ; } if (url.startsWith("http") && url.endsWith(".git")) url = "git+" + url; @@ -438,7 +438,7 @@ function Adapters(main) { return; } - that.main.cmdExec(null, 'url "' + url + '"' + adapter + debug, function (exitCode) { + that.main.cmdExec(null, 'url "' + url + '"' + ' --production' + adapter + debug, function (exitCode) { if (!exitCode) { that.init(true, true); }