We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd8a142 commit 9120b51Copy full SHA for 9120b51
GoogleChromeForTesting.js
@@ -74,14 +74,17 @@ async function installChrome() {
74
filepath = path.join(process.cwd(), filepath)
75
}
76
77
+ console.log('filepath1', filepath)
78
let parentDir = `${filepath.split('/').slice(0, -1).join('/')}`
79
+ console.log('parentDir0', parentDir)
80
if (platform.startsWith('win')) {
81
if (!filepath.startsWith(`${__dirname[0]}:`)) {
82
parentDir = path.join(process.cwd(), parentDir)
83
84
} else if (!parentDir.startsWith('/')) {
85
86
87
+ console.log('parentDir1', parentDir)
88
await fs.promises.mkdir(parentDir, { recursive: true })
89
90
const http = new HTTP()
0 commit comments