Skip to content

Commit

Permalink
[FIX] transformApiJson: Fix regression in UI5 Tooling scenario
Browse files Browse the repository at this point in the history
Caused by d48d2ba

(cherry picked from SAP/openui5@d3bcca9)
(cherry picked from commit 7d0ac11)
  • Loading branch information
matz3 committed Nov 8, 2022
1 parent cc9743e commit 819c808
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/processors/jsdoc/lib/transformApiJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -989,11 +989,12 @@ function transformer(sInputFile, sOutputFile, sLibraryFile, vDependencyAPIFiles,
const {sources} = options;
let {librarySrcDir, libraryTestDir} = options;

// Using path.join to normalize POSIX paths to Windows paths on Windows
librarySrcDir = path.join(librarySrcDir);
libraryTestDir = path.join(libraryTestDir);

if (Array.isArray(sources) && typeof librarySrcDir === "string" && typeof libraryTestDir === "string") {

// Using path.join to normalize POSIX paths to Windows paths on Windows
librarySrcDir = path.join(librarySrcDir);
libraryTestDir = path.join(libraryTestDir);

/**
* Calculate prefix to check
*
Expand Down

0 comments on commit 819c808

Please sign in to comment.