File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ function buildRequest() {
6363 */
6464async function cliOperations ( req ) {
6565 if ( ! req . target ) {
66- req . target = process . env . CLI_TARGET || process . env . HARPER_CLI_TARGET ;
66+ req . target = process . env . HARPER_CLI_TARGET || process . env . CLI_TARGET ;
6767 }
6868 let target ;
6969 if ( req . target ) {
@@ -80,8 +80,8 @@ async function cliOperations(req) {
8080 protocol : target . protocol ,
8181 hostname : target . hostname ,
8282 port : target . port ,
83- username : req . username || target . username || process . env . CLI_TARGET_USERNAME || process . env . HARPER_CLI_USERNAME ,
84- password : req . password || target . password || process . env . CLI_TARGET_PASSWORD || process . env . HARPER_CLI_PASSWORD ,
83+ username : req . username || target . username || process . env . HARPER_CLI_USERNAME || process . env . CLI_TARGET_USERNAME ,
84+ password : req . password || target . password || process . env . HARPER_CLI_PASSWORD || process . env . CLI_TARGET_PASSWORD ,
8585 rejectUnauthorized : req . rejectUnauthorized ,
8686 } ;
8787 } else {
You can’t perform that action at this time.
0 commit comments