Skip to content

Commit

Permalink
fix: dsym temp file name
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyg603 committed Mar 20, 2024
1 parent 521f65f commit 7fa626c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class UploadWorker {
private async uploadSingle(database: string, application: string, version: string, symbolFileInfo: SymbolFileInfo): Promise<void> {
let { path, relativePath } = symbolFileInfo;
const { dbgId, moduleName } = symbolFileInfo;
const folderPrefix = relativePath.replace(/\\/g, '-');
const folderPrefix = relativePath.replace(/\\/g, '-').replace(/\//g, '-');
const fileName = folderPrefix ? [folderPrefix, basename(path)].join('-') : basename(path);
const uncompressedSize = await this.stat(path).then(stats => stats.size);
const timestamp = Math.round(new Date().getTime() / 1000);
Expand Down

0 comments on commit 7fa626c

Please sign in to comment.