Skip to content

Commit 9120b51

Browse files
committed
log
1 parent bd8a142 commit 9120b51

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GoogleChromeForTesting.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,17 @@ async function installChrome() {
7474
filepath = path.join(process.cwd(), filepath)
7575
}
7676

77+
console.log('filepath1', filepath)
7778
let parentDir = `${filepath.split('/').slice(0, -1).join('/')}`
79+
console.log('parentDir0', parentDir)
7880
if (platform.startsWith('win')) {
7981
if (!filepath.startsWith(`${__dirname[0]}:`)) {
8082
parentDir = path.join(process.cwd(), parentDir)
8183
}
8284
} else if (!parentDir.startsWith('/')) {
8385
parentDir = path.join(process.cwd(), parentDir)
8486
}
87+
console.log('parentDir1', parentDir)
8588
await fs.promises.mkdir(parentDir, { recursive: true })
8689

8790
const http = new HTTP()

0 commit comments

Comments
 (0)