Skip to content

Commit

Permalink
style: make lint happy with else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-bansil authored and ethanneff committed Nov 16, 2016
1 parent b6baa37 commit 11e2f90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www.es6/branch.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ Branch.prototype.initSession = function(onBranchLinkHook) {
if (!onBranchLinkHook && !disableGlobalListenersWarnings) {
console.log('WARNING: branch link hook is not being passed to initSession. ' +
'Falling back to global DeepLinkHandler method. See https://goo.gl/GijGKP for details.');
} else {
}
else {
var currentHook = window.DeepLinkHandler;
if (currentHook !== undefined && currentHook !== onBranchLinkStub) {
if (!disableGlobalListenersWarnings) {
Expand Down

0 comments on commit 11e2f90

Please sign in to comment.