Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions lib/processors/jsdoc/lib/transformApiJson.cjs
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