Skip to content

Commit b32f900

Browse files
committed
Format fixup.
1 parent 64508ff commit b32f900

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,5 @@ dist/
1717
.DS_Store
1818
Thumbs.db
1919

20-
# playright
20+
# playwright
2121
.playwright-mcp/
22-
browser-extension/dist-playground/
23-
browser-extension/playwright-report/
24-
browser-extension/playwright/
25-
browser-extension/test-results/

src/lib/enhancers/github/githubIssueAddComment.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ export class GitHubIssueAddCommentEnhancer implements CommentEnhancer<GitHubIssu
4242
const slug = `${owner}/${repo}`
4343
const number = parseInt(numberStr!, 10)
4444
const unique_key = `github.com:${slug}:${number}`
45-
const title = document.querySelector('main h1')!.textContent.replace(/\s*#\d+$/, '').trim()
45+
const title = document
46+
.querySelector('main h1')!
47+
.textContent.replace(/\s*#\d+$/, '')
48+
.trim()
4649
return {
4750
domain: location.host,
4851
number,

src/lib/enhancers/github/githubPRAddComment.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ export class GitHubPRAddCommentEnhancer implements CommentEnhancer<GitHubPRAddCo
3838
const slug = `${owner}/${repo}`
3939
const number = parseInt(numberStr!, 10)
4040
const unique_key = `github.com:${slug}:${number}`
41-
const title = document.querySelector('main h1')!.textContent.replace(/\s*#\d+$/, '').trim()
41+
const title = document
42+
.querySelector('main h1')!
43+
.textContent.replace(/\s*#\d+$/, '')
44+
.trim()
4245
return {
4346
domain: location.host,
4447
number,

tests/corpus-view.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ function createGitcassoScript(
537537
): string {
538538
const contentScriptSetup = contentScriptCode
539539
? // Direct embedding (for HTML corpus)
540-
`
540+
`
541541
// Set up mocked location
542542
window.gitcassoMockLocation = {
543543
host: '${urlParts.host}',
@@ -564,7 +564,7 @@ function createGitcassoScript(
564564
}
565565
`
566566
: // Fetch-based loading (for HAR corpus)
567-
`
567+
`
568568
// Fetch and patch the content script to remove webextension-polyfill issues
569569
fetch('/chrome-mv3-dev/content-scripts/content.js')
570570
.then(response => response.text())

0 commit comments

Comments
 (0)