aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js
diff options
context:
space:
mode:
authorStas Vilchik <stas-vilchik@users.noreply.github.com>2017-03-17 09:10:48 +0100
committerGitHub <noreply@github.com>2017-03-17 09:10:48 +0100
commitde4365079bad2df3bdee2133576dc913ffbf1ab2 (patch)
treea522ccb952f0d37f454e8188e13b3dec3f731912 /server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js
parent6a03df65cc0c91a26150ea172a2c480e07326ea1 (diff)
downloadsonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.tar.gz
sonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.zip
format code using prettier (#1774)
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js')
-rw-r--r--server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js b/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js
index 9198d30b927..03afa92c69c 100644
--- a/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js
+++ b/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-function enableGravatar () {
+function enableGravatar() {
const getStore = require('../../app/utils/getStore').default;
const { getSettingValue } = require('../../store/rootReducer');
@@ -25,6 +25,6 @@ function enableGravatar () {
return (getSettingValue(store.getState(), 'sonar.lf.enableGravatar') || {}).value === 'true';
}
-module.exports = function (options) {
+module.exports = function(options) {
return enableGravatar() ? options.fn(this) : options.inverse(this);
};