@nasl/cli 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -13405,7 +13405,7 @@ function fastAppendLogToFile(suffix, content) {
13405
13405
  if (process.env.NASL_CLI_LOG_DIR) {
13406
13406
  const logDir = sysPath.resolve(process.env.NASL_CLI_LOG_DIR);
13407
13407
  libExports.ensureDirSync(logDir);
13408
- const filePath = sysPath.resolve(logDir, `-_-${suffix}`);
13408
+ const filePath = sysPath.resolve(logDir, `__-${suffix}`);
13409
13409
  libExports.outputFileSync(filePath, content, { flag: 'a' });
13410
13410
  }
13411
13411
  }
@@ -13681,6 +13681,9 @@ function extractDeps(content) {
13681
13681
  else if (/\.enums\.(\w+)\.(\w+)/.test(dep)) {
13682
13682
  dep = dep.replace(/\.enums\.(\w+).+$/, '.enums.$1');
13683
13683
  }
13684
+ else if (/app\.dataSources\.\w+\.entities\.\w+\.\w+$/.test(dep)) {
13685
+ continue; // 应该是写法有问题,跳过让后面的 checker 做检查
13686
+ }
13684
13687
  dep = `${dep}.${dep.includes('.views.') ? 'tsx' : 'ts'}`;
13685
13688
  deps.add(dep);
13686
13689
  }