Skip to content

Commit

Permalink
refactor: Test change to debug windows issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte committed Apr 11, 2024
1 parent 583e026 commit 299e73c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/linter/linter.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-console */
import {graphFromObject} from "@ui5/project/graph";
import {createReader, createWorkspace, createReaderCollection} from "@ui5/fs/resourceFactory";
import {FilePath, LinterOptions, LintResult} from "./LinterContext.js";
Expand Down Expand Up @@ -65,7 +66,8 @@ export async function lintProject({
resolvedFilePaths = transformFilePathsToVirtualPaths(
absoluteFilePaths, fsBasePath, virBasePath, fsBasePathTest, virBasePathTest);
}

console.log(`Resolved file paths to lint:`);
console.log(resolvedFilePaths);
const res = await lint(reader, {
rootDir,
namespace: project.getNamespace(),
Expand All @@ -76,7 +78,9 @@ export async function lintProject({

const relFsBasePath = path.relative(rootDir, fsBasePath);
const relFsBasePathTest = fsBasePathTest ? path.relative(rootDir, fsBasePathTest) : undefined;
console.log("Results:");
res.forEach((result) => {
console.log(result.filePath);
result.filePath = transformVirtualPathToFilePath(result.filePath,
relFsBasePath, virBasePath,
relFsBasePathTest, virBasePathTest);
Expand Down

0 comments on commit 299e73c

Please sign in to comment.