Skip to content

Commit

Permalink
WIP: moar printf debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wgoehrig committed Oct 22, 2024
1 parent 716ff80 commit 876aa70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/rules/no-internal-barrel-imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,13 @@ const rule = {
return;

const thisModule = importNodeTs.getSourceFile();
console.log(thisModule.fileName);

const importInfo = getImportInfo(thisModule, importNodeTs.moduleSpecifier.text);

const importIsPackage =
importInfo === undefined || importInfo.isExternalLibraryImport;
console.log(importIsPackage);
if (importIsPackage) return;

// path case can be different between the cased import specifier, and the resolved system path
Expand Down

0 comments on commit 876aa70

Please sign in to comment.