Skip to content

Commit de84a52

Browse files
authored
fix workflow (#2308)
1 parent 0df0433 commit de84a52

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/check-duplicate-keys.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@
66
* parse the source code directly to detect duplicates.
77
*/
88

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);
9+
const fs = require("fs");
10+
const path = require("path");
1511

1612
/**
1713
* Check for duplicate keys in privacyStatement object by parsing the source file

0 commit comments

Comments
 (0)