From 93f2b6a83302ceef5c98be4fb696840608ad3bc3 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Fri, 23 Sep 2016 12:29:54 -0400
Subject: Updating ESLint (#4085)

---
 webapp/components/code_preview.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/components/code_preview.jsx')

diff --git a/webapp/components/code_preview.jsx b/webapp/components/code_preview.jsx
index 5d1a661be..6625f45f4 100644
--- a/webapp/components/code_preview.jsx
+++ b/webapp/components/code_preview.jsx
@@ -65,7 +65,7 @@ export default class CodePreview extends React.Component {
     }
 
     static support(filename) {
-        return !!SyntaxHighlighting.getLanguageFromFilename(filename);
+        return Boolean(SyntaxHighlighting.getLanguageFromFilename(filename));
     }
 
     render() {
-- 
cgit v1.2.3-1-g7c22

