Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2976f7

Browse files
author
Antonio Scandurra
committed
💄 Fix linting problems
1 parent ba143b7 commit b2976f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/git/git-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ export default class GitService {
574574
await repo.mergeBranches(branchName, upstream.name())
575575
}
576576

577-
async getAheadBehindCount(branchName: string): Promise<{ahead: number, behind: number}> {
577+
async getAheadBehindCount (branchName: string): Promise<{ahead: number, behind: number}> {
578578
return this.gitRepo.getAheadBehindCount(branchName)
579579
}
580580

lib/git/push-pull/push-pull-component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default class PushPullComponent {
104104
}
105105

106106
renderPushButton () {
107-
let label = this.viewModel.getAheadCount() === 0 ? "Push" : `Push (${this.viewModel.getAheadCount()})`
107+
let label = this.viewModel.getAheadCount() === 0 ? 'Push' : `Push (${this.viewModel.getAheadCount()})`
108108
return (
109109
<button className='btn' onclick={() => this.push()} disabled={this.viewModel.hasRequestsInFlight()}>
110110
<span className='icon icon-arrow-up'/>
@@ -114,7 +114,7 @@ export default class PushPullComponent {
114114
}
115115

116116
renderPullButton () {
117-
let label = this.viewModel.getBehindCount() === 0 ? "Pull" : `Pull (${this.viewModel.getBehindCount()})`
117+
let label = this.viewModel.getBehindCount() === 0 ? 'Pull' : `Pull (${this.viewModel.getBehindCount()})`
118118
return (
119119
<button className='btn' onclick={() => this.pull()} disabled={this.viewModel.hasRequestsInFlight()}>
120120
<span className='icon icon-arrow-down'/>

0 commit comments

Comments
 (0)