Skip to content

Commit

Permalink
Refactor: fix issues with dependency updates (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm committed Jun 27, 2024
1 parent c3f34d4 commit c218b5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,5 @@ extra:
link: https://github.com/emmercm/igir
- icon: simple/npm
link: https://www.npmjs.com/package/igir
- icon: simple/twitter
link: https://twitter.com/emmercm
- icon: simple/x
link: https://x.com/emmercm
4 changes: 2 additions & 2 deletions src/polyfill/fsPoly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export default class FsPoly {
} catch {
const backupDir = path.join(process.cwd(), 'tmp') + path.sep;
await this.mkdir(backupDir, { recursive: true });
return await fs.promises.mkdtemp(backupDir);
return fs.promises.mkdtemp(backupDir);
}
}

Expand Down Expand Up @@ -280,7 +280,7 @@ export default class FsPoly {

// Attempt to resolve Windows' "EBUSY: resource busy or locked"
await this.rm(newPath, { force: true });
return await this.mv(oldPath, newPath, attempt + 1);
return this.mv(oldPath, newPath, attempt + 1);
}
}

Expand Down

0 comments on commit c218b5c

Please sign in to comment.