@appcircle/codepush-cli 0.0.3 → 0.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.
@@ -297,6 +297,7 @@ function execute(command) {
297
297
  switch (command.type) {
298
298
  // Must not be logged in
299
299
  case cli.CommandType.login:
300
+ return login(command);
300
301
  // Must be logged in
301
302
  default:
302
303
  if (!!exports.sdk)
@@ -332,8 +333,6 @@ function execute(command) {
332
333
  return deploymentRemove(command);
333
334
  case cli.CommandType.deploymentRename:
334
335
  return deploymentRename(command);
335
- case cli.CommandType.login:
336
- return login(command);
337
336
  case cli.CommandType.logout:
338
337
  return logout(command);
339
338
  case cli.CommandType.patch:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcircle/codepush-cli",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Management CLI for the CodePush service",
5
5
  "main": "./script/cli.js",
6
6
  "scripts": {
@@ -392,6 +392,7 @@ export function execute(command: cli.ICommand) {
392
392
  switch (command.type) {
393
393
  // Must not be logged in
394
394
  case cli.CommandType.login:
395
+ return login(<cli.ILoginCommand>command);
395
396
 
396
397
  // Must be logged in
397
398
  default:
@@ -444,9 +445,6 @@ export function execute(command: cli.ICommand) {
444
445
  case cli.CommandType.deploymentRename:
445
446
  return deploymentRename(<cli.IDeploymentRenameCommand>command);
446
447
 
447
- case cli.CommandType.login:
448
- return login(<cli.ILoginCommand>command);
449
-
450
448
  case cli.CommandType.logout:
451
449
  return logout(command);
452
450