From 9b4a309fce2fb2de3b482a161e1acdb01497e288 Mon Sep 17 00:00:00 2001
From: Jehon <1582670+jehon@users.noreply.github.com>
Date: Fri, 13 Nov 2020 19:38:14 +0100
Subject: [PATCH] lint
---
lib/middleware/karma.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/middleware/karma.js b/lib/middleware/karma.js
index c2e28b3cd..88e438112 100644
--- a/lib/middleware/karma.js
+++ b/lib/middleware/karma.js
@@ -193,10 +193,10 @@ function createKarmaMiddleware (
} else {
const scriptType = (SCRIPT_TYPE[fileType] || 'text/javascript')
const crossOriginAttribute = includeCrossOriginAttribute ? 'crossorigin="anonymous"' : ''
- if (scriptType == "module") {
- scriptTags.push(``)
+ if (scriptType === 'module') {
+ scriptTags.push(``)
} else {
- scriptTags.push(``)
+ scriptTags.push(``)
}
}
}