Skip to content

Commit 757a5b9

Browse files
committed
Fix some problems with corpus-view from the earlier refactor.
1 parent 3b61953 commit 757a5b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/corpus-view.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ app.post('/rebuild', async (_req, res) => {
329329

330330
// Run pnpm run build:dev
331331
const buildProcess = spawn('pnpm', ['run', 'build:dev'], {
332-
cwd: path.join(__dirname, '..', '..'),
332+
cwd: path.join(__dirname, '..',),
333333
stdio: ['pipe', 'pipe', 'pipe'],
334334
})
335335

@@ -540,7 +540,7 @@ function createGitcassoScript(
540540
): string {
541541
const contentScriptSetup = contentScriptCode
542542
? // Direct embedding (for HTML corpus)
543-
`
543+
`
544544
// Set up mocked location
545545
window.gitcassoMockLocation = {
546546
host: '${urlParts.host}',
@@ -567,7 +567,7 @@ function createGitcassoScript(
567567
}
568568
`
569569
: // Fetch-based loading (for HAR corpus)
570-
`
570+
`
571571
// Fetch and patch the content script to remove webextension-polyfill issues
572572
fetch('/chrome-mv3-dev/content-scripts/content.js')
573573
.then(response => response.text())

0 commit comments

Comments
 (0)