Skip to content

Commit

Permalink
update dependencies: fix "mkdirp" use
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimiry committed Jan 25, 2020
1 parent 66d1423 commit d12af49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/transfer/ffsend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async function resolveCommand(): Promise<{ command: string }> {
const url = `${SERVICE_BINARY_DOWNLOAD_URL_PREFIX}/${binaryFileName}`;
const response = await fetchUrl([url]);

await promisify(mkdirp)(path.dirname(binaryFile));
mkdirp.sync(path.dirname(binaryFile));
await promisify(fs.writeFile)(binaryFile, await response.buffer());

if (!(await fsExtra.pathExists(binaryFile))) {
Expand Down

0 comments on commit d12af49

Please sign in to comment.