Browse Source

Prettier fix

Leszek Wiesner 3 years ago
parent
commit
5a1cbf0bf4
1 changed files with 2 additions and 4 deletions
  1. 2 4
      cli/src/commands/content/updateChannel.ts

+ 2 - 4
cli/src/commands/content/updateChannel.ts

@@ -31,13 +31,11 @@ export default class UpdateChannelCommand extends UploadCommandBase {
     if (rewardAccount === undefined) {
       // Reward account remains unchanged
       return null
-    }
-    else if (rewardAccount === null) {
+    } else if (rewardAccount === null) {
       // Reward account changed to empty
       // FIXME: There seems to be no way to encode it currently
       return this.createType('Option<AccountId>', null)
-    }
-    else {
+    } else {
       // Reward account set to new account
       return rewardAccount
     }