summaryrefslogtreecommitdiff
path: root/node_modules/@babel/cli/lib/babel/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/cli/lib/babel/util.js')
-rw-r--r--node_modules/@babel/cli/lib/babel/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/@babel/cli/lib/babel/util.js b/node_modules/@babel/cli/lib/babel/util.js
index 2bef3e09..79ab3281 100644
--- a/node_modules/@babel/cli/lib/babel/util.js
+++ b/node_modules/@babel/cli/lib/babel/util.js
@@ -74,7 +74,7 @@ function addSourceMappingUrl(code, loc) {
}
function hasDataSourcemap(code) {
const pos = code.lastIndexOf("\n", code.length - 2);
- return pos != -1 && code.lastIndexOf("//# sourceMappingURL") < pos;
+ return pos !== -1 && code.lastIndexOf("//# sourceMappingURL") < pos;
}
const CALLER = {
name: "@babel/cli"