Skip to content

Commit 48009d5

Browse files
mrienstramxschmitt
authored andcommitted
chore: revert EXTERNAL_IMPORT_ALLOWLIST changes from #7e26ebb
1 parent 9e13ee8 commit 48009d5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

utils/check_deps.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,7 @@ async function checkDeps() {
9797

9898

9999
function allowExternalImport(from, importPath, importName) {
100-
const EXTERNAL_IMPORT_ALLOWLIST = [
101-
'electron',
102-
'expect/build/types',
103-
'expect/build/jasmineUtils',
104-
'expect/build/print',
105-
'expect/build/matchers'
106-
];
100+
const EXTERNAL_IMPORT_ALLOWLIST = ['electron'];
107101
// Only external imports are relevant. Files in src/web are bundled via webpack.
108102
if (importName.startsWith('.') || importPath.startsWith(path.join(src, 'web')))
109103
return true;

0 commit comments

Comments
 (0)