Skip to content

Commit

Permalink
fix: Fix delete token cache from disk (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
congminh1254 authored Dec 29, 2022
1 parent e006ddc commit aafb68a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ async function readdirAsync(path, options) {
});
}

async function unlinkAsync(path, options) {
async function unlinkAsync(path) {
return new Promise((resolve, reject) => {
fs.unlink(path, options || {}, (err, result) => {
fs.unlink(path, (err, result) => {
if (err) {
return reject(err);
}
Expand Down

0 comments on commit aafb68a

Please sign in to comment.