Skip to content

Commit df30eb9

Browse files
fix comment
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent fbfcc55 commit df30eb9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

profile-long-calls/long-calls-analyzer.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ interface ParsedKey {
7272
}
7373

7474
/**
75-
* Cache keys are formatted as "{isoDate}-{username}.zip" (see cache-uploader.ts).
76-
* ISO dates are always 24 chars ("2024-01-15T10:23:45.123Z"), so the username
77-
* starts at index 25. Anonymous uploads have no username suffix.
75+
* Cache keys are expected to use the format "{isoDate}-{username}.zip".
76+
* The ISO timestamp portion is always 24 characters
77+
* ("2024-01-15T10:23:45.123Z"), so the username begins at index 25.
78+
* Anonymous uploads omit the username suffix.
7879
*/
7980
function parseKey(key: string): ParsedKey {
8081
const name = path.basename(key, '.zip');

0 commit comments

Comments
 (0)