Skip to content

Commit

Permalink
chore: use rmSync instead sync rmdirSync will be deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Aug 23, 2024
1 parent f496da8 commit 17fc7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tx-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export class TxBuilder {
*/
private prepareMoveBuild() {
const tmpdir = fs.mkdtempSync(`${__dirname}/.move-build-`);
const rm = () => fs.rmdirSync(tmpdir, { recursive: true });
const rm = () => fs.rmSync(tmpdir, { recursive: true });

return {
tmpdir,
Expand Down

0 comments on commit 17fc7f6

Please sign in to comment.