We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0df0433 commit de84a52Copy full SHA for de84a52
tests/check-duplicate-keys.js
@@ -6,12 +6,8 @@
6
* parse the source code directly to detect duplicates.
7
*/
8
9
-import fs from "fs";
10
-import path from "path";
11
-import { fileURLToPath } from "url";
12
-
13
-const __filename = fileURLToPath(import.meta.url);
14
-const __dirname = path.dirname(__filename);
+const fs = require("fs");
+const path = require("path");
15
16
/**
17
* Check for duplicate keys in privacyStatement object by parsing the source file
0 commit comments