]> source.dussan.org Git - sonarqube.git/commitdiff
Fix code style
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Mon, 27 Mar 2017 14:59:34 +0000 (16:59 +0200)
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>
Mon, 27 Mar 2017 14:59:34 +0000 (16:59 +0200)
server/sonar-web/src/main/js/helpers/handlebars/avatarHelperNew.js

index 6732b09be451c985d624d032f3f91c26fb63fe6e..2b65dd680608d4b4c4bb25822f62079f0bd14c2a 100644 (file)
@@ -19,7 +19,7 @@
  */
 import Handlebars from 'handlebars/runtime';
 
-function gravatarServer () {
+function gravatarServer() {
   const getStore = require('../../app/utils/getStore').default;
   const { getSettingValue } = require('../../store/rootReducer');
 
@@ -27,7 +27,7 @@ function gravatarServer () {
   return (getSettingValue(store.getState(), 'sonar.lf.gravatarServerUrl') || {}).value;
 }
 
-module.exports = function (emailHash, size) {
+module.exports = function(emailHash, size) {
   // double the size for high pixel density screens
   const url = gravatarServer().replace('{EMAIL_MD5}', emailHash).replace('{SIZE}', size * 2);
   return new Handlebars.default.SafeString(