mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-09 09:20:54 +00:00
Fix profiling download
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
f11feed5ff
commit
8d56fe5df6
@ -1701,7 +1701,7 @@ export function devTool (
|
||||
})
|
||||
if (resp.ok) {
|
||||
const bdir = basename(opt.output)
|
||||
if (existsSync(bdir)) {
|
||||
if (!existsSync(bdir)) {
|
||||
await mkdir(bdir, { recursive: true })
|
||||
}
|
||||
const bytes = await resp.arrayBuffer()
|
||||
|
Loading…
Reference in New Issue
Block a user