diff options
Diffstat (limited to 'archive/tar.ts')
-rw-r--r-- | archive/tar.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/archive/tar.ts b/archive/tar.ts index 5698ae6a0..5f5b1a99e 100644 --- a/archive/tar.ts +++ b/archive/tar.ts @@ -1,5 +1,6 @@ /** - * Ported and modified from: https://github.com/jshttp/mime-types and licensed as: + * Ported and modified from: https://github.com/jshttp/mime-types and + * licensed as: * * (The MIT License) * @@ -292,7 +293,8 @@ export class Tar { /** * Append a file to this tar archive - * @param fileName file name (e.g., test.txt; use slash for directory separators) + * @param fileName file name + * e.g., test.txt; use slash for directory separators * @param opts options */ async append(fileName: string, opts: TarOptions): Promise<void> { @@ -314,7 +316,8 @@ export class Tar { } if (i < 0 || fileName.length > 100 || fileNamePrefix!.length > 155) { throw new Error( - "ustar format does not allow a long file name (length of [file name prefix] + / + [file name] must be shorter than 256 bytes)" + "ustar format does not allow a long file name (length of [file name" + + "prefix] + / + [file name] must be shorter than 256 bytes)" ); } } |