Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3a5a32d

Browse files
authored
chore(mcp): return posix-style seed path from journal (#38358)
1 parent50d994d commit3a5a32d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎packages/playwright/src/mcp/test/testContext.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import fs from 'fs';
1818
importosfrom'os';
1919
importpathfrom'path';
2020

21-
import{noColors,escapeRegExp,ManualPromise}from'playwright-core/lib/utils';
21+
import{noColors,escapeRegExp,ManualPromise,toPosixPath}from'playwright-core/lib/utils';
2222

2323
import{terminalScreen}from'../../reporters/base';
2424
importListReporterfrom'../../reporters/list';
@@ -64,7 +64,7 @@ export class GeneratorJournal {
6464
constresult:string[]=[];
6565
result.push(`# Plan`);
6666
result.push(this._plan);
67-
result.push(`# Seed file:${path.relative(this._rootPath,this._seed.file)}`);
67+
result.push(`# Seed file:${toPosixPath(path.relative(this._rootPath,this._seed.file))}`);
6868
result.push('```ts');
6969
result.push(this._seed.content);
7070
result.push('```');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp