Skip to content

Commit

Permalink
fix: symbol last modified time (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyg603 authored Nov 14, 2024
1 parent 4e8ec07 commit 25bed57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},
"dependencies": {
"@bugsplat/elfy": "^1.0.1",
"@bugsplat/js-api-client": "^8.4.2",
"@bugsplat/js-api-client": "^9.3.2",
"archiver": "^7.0.1",
"command-line-args": "^5.2.0",
"command-line-usage": "^6.1.1",
Expand Down
5 changes: 2 additions & 3 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ export class UploadWorker {
tmpFileName = path;
}

const stats = await this.stat(tmpFileName);
const lastModified = stats.mtime;
const size = stats.size;
const { mtime: lastModified } = await this.stat(path);
const { size } = await this.stat(tmpFileName);
const startTime = new Date();

console.log(`Worker ${this.id} uploading ${name}...`);
Expand Down

0 comments on commit 25bed57

Please sign in to comment.