Skip to content

Commit 3525c33

Browse files
committed
chore: optimize report path
1 parent bb0cc0a commit 3525c33

File tree

1 file changed

+1
-3
lines changed
  • packages/web-integration/src/playwright/reporter

1 file changed

+1
-3
lines changed

packages/web-integration/src/playwright/reporter/util.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ function modifyRoutesJson(reportDir: string, testDataList: Array<TestData>) {
114114

115115
// Write the updated js on data back to the file
116116
fs.writeFileSync(filePath, JSON.stringify(jsonData, null, 2), 'utf8');
117-
118-
console.log('文件更新成功');
119117
} catch (err) {
120-
console.error('操作失败:', err);
118+
console.error('modifyRoutesJson fail:', err);
121119
}
122120
}

0 commit comments

Comments
 (0)