Skip to content

Commit

Permalink
chore: optimize report path
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw committed Jul 29, 2024
1 parent bb0cc0a commit 3525c33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/web-integration/src/playwright/reporter/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ function modifyRoutesJson(reportDir: string, testDataList: Array<TestData>) {

// Write the updated js on data back to the file
fs.writeFileSync(filePath, JSON.stringify(jsonData, null, 2), 'utf8');

console.log('文件更新成功');
} catch (err) {
console.error('操作失败:', err);
console.error('modifyRoutesJson fail:', err);
}
}

0 comments on commit 3525c33

Please sign in to comment.