Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33976,9 +33976,13 @@ async function findBestFileMatch(file) {
const repoName = github.context.repo.repo;
const indexOfRepoName = featureFile.indexOf(repoName);
const filePathWithoutWorkspace = featureFile.substring(indexOfRepoName + repoName.length * 2 + 2);

core.debug(`Best path found for ${file} is ${filePathWithoutWorkspace}.`);
return filePathWithoutWorkspace;
}

core.debug(`No file found for ${file}.`);

return undefined;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ async function findBestFileMatch(file) {
const repoName = github.context.repo.repo;
const indexOfRepoName = featureFile.indexOf(repoName);
const filePathWithoutWorkspace = featureFile.substring(indexOfRepoName + repoName.length * 2 + 2);

core.debug(`Best path found for ${file} is ${filePathWithoutWorkspace}.`);
return filePathWithoutWorkspace;
}

core.debug(`No file found for ${file}.`);

return undefined;
}

Expand Down
Loading