We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfe09d3 commit b4c3e15Copy full SHA for b4c3e15
2 files changed
packages/react-server/core/util/LAB.src.js
@@ -2,6 +2,7 @@
2
v2.0.3 (c) Kyle Simpson
3
MIT License
4
*/
5
+/* eslint-disable */
6
7
(function(global){
8
var _$LAB = global.$LAB,
packages/react-server/core/util/LABString.js
@@ -1,10 +1,13 @@
1
-var lab = require("fs").readFileSync(__dirname + "/LAB.src.js", "utf-8");
+const path = require("path");
+const {readFileSync} = require("fs");
+
+var lab = readFileSync(path.join(__dirname, "LAB.src.js"), "utf-8");
// Don't need this.
lab = lab.replace(/^"use strict";/, "");
9
// Run with `DEBUG_LAB=true` to see its output in console.log.
-if (!process.env.DEBUG_LAB) {
10
+if (!process.env.DEBUG_LAB) { // eslint-disable-line
11
12
// This is exactly what @getify does to remove debug code.
13
// https://github.com/getify/LABjs/blob/master/BUILD.md
0 commit comments