rushdeploy 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +1 -1
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -343,7 +343,7 @@ function extractRepoName(url) {
|
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
async function cmdLogin(token, serverArg) {
|
|
346
|
-
const server = serverArg ||
|
|
346
|
+
const server = serverArg || process.env.RUSHDEPLOY_SERVER || DEFAULT_SERVER;
|
|
347
347
|
ui.stepInfo(`Connecting to ${colors.brightWhite}${server}${colors.reset}...`);
|
|
348
348
|
|
|
349
349
|
saveConfig(server, token);
|