Skip to content

Commit

Permalink
fix: update ignore path
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyutaotao committed Aug 7, 2024
1 parent 0b3cc72 commit 1c5ac20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,7 @@ __ai_responses__/


.nx/cache
.nx/workspace-data
.nx/workspace-data
# Midscene.js dump files
midscene_run/report
midscene_run/dump
2 changes: 1 addition & 1 deletion packages/midscene/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function writeDumpFile(opts: {
if (!gitIgnoreContent.includes(`${logDirName}/`)) {
writeFileSync(
gitIgnorePath,
`${gitIgnoreContent}\n# Midscene.js dump files\n${logDirName}/report\n${logDirName}/dump-logger\n`,
`${gitIgnoreContent}\n# Midscene.js dump files\n${logDirName}/report\n${logDirName}/dump\n`,
'utf-8',
);
}
Expand Down

0 comments on commit 1c5ac20

Please sign in to comment.