@@ -134,7 +134,7 @@ function Local(){
134
134
135
135
case 'localIdentifier' :
136
136
if ( value )
137
- this . localIdentifierFlag = '-localIdentifier ' + value ;
137
+ this . localIdentifierFlag = value ;
138
138
break ;
139
139
140
140
case 'f' :
@@ -146,22 +146,22 @@ function Local(){
146
146
147
147
case 'proxyHost' :
148
148
if ( value )
149
- this . proxyHost = '-proxyHost ' + value ;
149
+ this . proxyHost = value ;
150
150
break ;
151
151
152
152
case 'proxyPort' :
153
153
if ( value )
154
- this . proxyPort = '-proxyPort ' + value ;
154
+ this . proxyPort = value ;
155
155
break ;
156
156
157
157
case 'proxyUser' :
158
158
if ( value )
159
- this . proxyUser = '-proxyUser ' + value ;
159
+ this . proxyUser = value ;
160
160
break ;
161
161
162
162
case 'proxyPass' :
163
163
if ( value )
164
- this . proxyPass = '-proxyPass ' + value ;
164
+ this . proxyPass = value ;
165
165
break ;
166
166
167
167
case 'forceproxy' :
@@ -214,20 +214,30 @@ function Local(){
214
214
args . push ( this . folderPath ) ;
215
215
if ( this . forceLocalFlag )
216
216
args . push ( this . forceLocalFlag ) ;
217
- if ( this . localIdentifierFlag )
217
+ if ( this . localIdentifierFlag ) {
218
+ args . push ( '-localIdentifier' ) ;
218
219
args . push ( this . localIdentifierFlag ) ;
220
+ }
219
221
if ( this . onlyFlag )
220
222
args . push ( this . onlyFlag ) ;
221
223
if ( this . onlyAutomateFlag )
222
224
args . push ( this . onlyAutomateFlag ) ;
223
- if ( this . proxyHost )
225
+ if ( this . proxyHost ) {
226
+ args . push ( '-proxyHost' ) ;
224
227
args . push ( this . proxyHost ) ;
225
- if ( this . proxyPort )
228
+ }
229
+ if ( this . proxyPort ) {
230
+ args . push ( '-proxyPort' ) ;
226
231
args . push ( this . proxyPort ) ;
227
- if ( this . proxyUser )
232
+ }
233
+ if ( this . proxyUser ) {
234
+ args . push ( '-proxyUser' ) ;
228
235
args . push ( this . proxyUser ) ;
229
- if ( this . proxyPass )
236
+ }
237
+ if ( this . proxyPass ) {
238
+ args . push ( '-proxyPass' ) ;
230
239
args . push ( this . proxyPass ) ;
240
+ }
231
241
if ( this . forceProxyFlag )
232
242
args . push ( this . forceProxyFlag ) ;
233
243
if ( this . forceFlag )
0 commit comments