Skip to content

Commit

Permalink
Fix eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Dec 11, 2024
1 parent 06fbe9a commit b801758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dropbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class DropboxFS extends Async(FileSystem) {
}

await this.unlink(newPath);
} catch (_) {
} catch {
if (oldPath === newPath) {
throw ErrnoError.With('ENOENT', newPath, 'rename');
}
Expand Down Expand Up @@ -201,7 +201,7 @@ export class DropboxFS extends Async(FileSystem) {
path,
flag,
new Stats({
mode: 0o644 | S_IFREG,
mode: mode | S_IFREG,
size: result.size,
atimeMs: Date.now(),
mtimeMs: Date.parse(result.server_modified),
Expand Down

0 comments on commit b801758

Please sign in to comment.