Skip to content

Commit

Permalink
chore: fix linting for else if return syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Jul 5, 2018
1 parent df2acc7 commit ad061fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/api/core/test/fast/publish_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ describe('publish', () => {
'../util/require-search': (_: string, [name]: [string]) => {
if (name === 'void') {
return fakePublisher(voidStub);
} else if (name === 'nowhere') {
}
if (name === 'nowhere') {
return fakePublisher(nowhereStub);
} else if (name === '@electron-forge/publisher-test') {
}
if (name === '@electron-forge/publisher-test') {
return fakePublisher(publisherSpy);
}
return null;
Expand Down

0 comments on commit ad061fb

Please sign in to comment.