Skip to content

Commit

Permalink
Change octal encoding in header
Browse files Browse the repository at this point in the history
Removes trailing space
  • Loading branch information
JogoJogo committed Apr 18, 2024
1 parent d99fce3 commit 532c407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header.ts
Expand Up @@ -381,7 +381,7 @@ const octalString = (num: number, size: number) =>
const padOctal = (str: string, size: number) =>
(str.length === size - 1
? str
: new Array(size - str.length - 1).join('0') + str + ' ') + '\0'
: new Array(size - str.length).join('0') + str) + '\0'

const encDate = (
buf: Buffer,
Expand Down

0 comments on commit 532c407

Please sign in to comment.