Skip to content

Commit 51d80ef

Browse files
Activate minimatch option matchBase (#22)
Fix matchOptions initialization to include matchBase for consistency
1 parent 4654203 commit 51d80ef

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pr-review/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116701,7 +116701,7 @@ async function run(config) {
116701116701
lib_core.info(`Using the following configuration: ${(0,external_node_util_.inspect)(config, { depth: undefined, colors: true })}`);
116702116702
const throttlingOptions = { onSecondaryRateLimit: () => true, onRateLimit: () => true };
116703116703
const octokit = github.getOctokit(config.userToken, { baseUrl: config.githubApiUrl, throttle: throttlingOptions }, plugin_throttling_dist_node.throttling, dist_node.retry);
116704-
const matchOptions = { dot: true, nocase: true };
116704+
const matchOptions = { matchBase: true, dot: true, nocase: true };
116705116705
const repoRef = { owner: config.owner, repo: config.repo };
116706116706
lib_core.info(`Get PR #${config.prNumber} from ${repoRef.owner}/${repoRef.repo}`);
116707116707
const { data: pullRequest } = await octokit.rest.pulls.get({ ...repoRef, pull_number: config.prNumber });

pr-review/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-summary/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115701,7 +115701,7 @@ async function run(config) {
115701115701
lib_core.info(`Using the following configuration: ${(0,external_node_util_.inspect)(config, { depth: undefined, colors: true })}`);
115702115702
const throttlingOptions = { onSecondaryRateLimit: () => true, onRateLimit: () => true };
115703115703
const octokit = github.getOctokit(config.userToken, { baseUrl: config.githubApiUrl, throttle: throttlingOptions }, plugin_throttling_dist_node.throttling, dist_node.retry);
115704-
const matchOptions = { dot: true, nocase: true };
115704+
const matchOptions = { matchBase: true, dot: true, nocase: true };
115705115705
const repoRef = { owner: config.owner, repo: config.repo };
115706115706
lib_core.info(`Get PR #${config.prNumber} from ${repoRef.owner}/${repoRef.repo}`);
115707115707
const { data: pullRequest } = await octokit.rest.pulls.get({ ...repoRef, pull_number: config.prNumber });

pr-summary/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)