Skip to content

Commit

Permalink
only use config file path if specified (#4528)
Browse files Browse the repository at this point in the history
  • Loading branch information
madhurig authored Jun 13, 2017
1 parent f1b4cae commit 6cbc623
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tasks/VSMobileCenterTest/vsmobilecentertest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ function getPrepareRunner(cliPath: string, debug: boolean, app: string, artifact
prepareRunner.arg(['--app-path', app]);
addStringArg('--project-dir', 'calabashProjectDir', true, prepareRunner);
addStringArg('--sign-info', 'signInfo', false, prepareRunner);
addStringArg('--config-path', 'calabashConfigFile', false, prepareRunner);
if (tl.filePathSupplied('calabashConfigFile')) {
addStringArg('--config-path', 'calabashConfigFile', false, prepareRunner);
}
addStringArg('--profile', 'calabashProfile', false, prepareRunner);
addBooleanArg('--skip-config-check', 'calabashSkipConfigCheck', prepareRunner);
} else if (framework === 'uitest') {
Expand Down

0 comments on commit 6cbc623

Please sign in to comment.