mirror of
https://github.com/labs42io/clean-code-typescript.git
synced 2024-11-23 05:34:04 +00:00
fix: added a missing semicolon (#32)
This commit is contained in:
parent
0658746e22
commit
378805c358
|
@ -847,7 +847,7 @@ if (subscription.isTrial || account.balance > 0) {
|
|||
|
||||
```ts
|
||||
function canActivateService(subscription: Subscription, account: Account) {
|
||||
return subscription.isTrial || account.balance > 0
|
||||
return subscription.isTrial || account.balance > 0;
|
||||
}
|
||||
|
||||
if (canActivateService(subscription, account)) {
|
||||
|
|
Loading…
Reference in a new issue