Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/316211

Change subject: linter: Remove uncessary return; statements
......................................................................

linter: Remove uncessary return; statements

Change-Id: I0a999624ab55a35b3aa4b0c04aa6388e399d295d
---
M lib/logger/linter.js
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/11/316211/1

diff --git a/lib/logger/linter.js b/lib/logger/linter.js
index a6976cf..7badefb 100644
--- a/lib/logger/linter.js
+++ b/lib/logger/linter.js
@@ -40,10 +40,8 @@
                        }
                }
                this.buffer = [];
-               return;
        } catch (e) {
                console.error("Error in logLintOutput: " + e);
-               return;
        } finally {
                cb();
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/316211
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a999624ab55a35b3aa4b0c04aa6388e399d295d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to