mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 03:04:59 +08:00
Add semi colon linting to Javascript
This commit is contained in:
@ -13,7 +13,7 @@ export default Ember.Controller.extend({
|
||||
}.property('problems'),
|
||||
|
||||
thereWereProblems: function() {
|
||||
if(!Discourse.User.currentProp('admin')) { return false }
|
||||
if(!Discourse.User.currentProp('admin')) { return false; }
|
||||
if( this.get('foundProblems') ) {
|
||||
this.set('hadProblems', true);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user