Skip to content

Commit

Permalink
Merge pull request #111 from vibinex/akg/ghandle_search_in_github_PR_…
Browse files Browse the repository at this point in the history
…files

add support for seek URLs in the GitHub files changed view
  • Loading branch information
tapishr authored Aug 28, 2024
2 parents 534b68f + 454a16d commit 9e7ad40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Vibinex Code Review",
"version": "1.2.5",
"version": "1.2.6",
"manifest_version": 3,
"description": "Personalization and context for pull requests on GitHub & Bitbucket",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsRm6EaBdHDBxVjt9o9WKeL9EDdz1X+knDAU5uoZaRsXTmWjslhJN9DhSd7/Ys4aJOSN+s+5/HnIHcKV63P4GYaUM5FhETHEWORHlwIgjcV/1h6wD6bNbvXi06gtiygE+yMrCzzD93/Z+41XrwMElYiW2U5owNpat2Yfq4p9FDX1uBJUKsRIMp6LbRQla4vAzH/HMUtHWmeuUsmPVzcq1b6uB1QmuJqIQ1GrntIHw3UBWUlqRZ5OtxI1DCP3knglvqz26WT5Pc4GBDNlcI9+3F0vhwqwHqrdyjZpIKZ7iaQzcrovOqUKuXs1J3hDtXq8WoJELIqfIisY7rhAvq6b8jQIDAQAB",
Expand Down
4 changes: 2 additions & 2 deletions scripts/orchestrator.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ const orchestrator = async (tabUrl, websiteUrl, userId) => {
triggerBtnMutationObserver.disconnect();
triggerBtnMutationObserver = null;
}
if (urlObj[5] === "pull" && urlObj[6] && urlObj[7] === "files") {

if (urlObj[5] === "pull" && urlObj[6] && !Number.isNaN(parseInt(urlObj[6])) && urlObj[7].startsWith('files')) {
const prNumber = parseInt(urlObj[6]);
const body = {
"repo_owner": ownerName,
Expand Down

0 comments on commit 9e7ad40

Please sign in to comment.