Skip to content
Permalink
Browse files

chore: fix linting for else if return syntax

  • Loading branch information
MarshallOfSound committed Jul 5, 2018
1 parent df2acc7 commit ad061fb14ece70e51e09819f3aac177fbece460d
Showing with 4 additions and 2 deletions.
  1. +4 −2 packages/api/core/test/fast/publish_spec.ts
@@ -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;

0 comments on commit ad061fb

Please sign in to comment.
You can’t perform that action at this time.