Skip to content

Commit 8f8345b

Browse files
authored
Merge pull request #333 from happo/deterministic-archive-type
Add Buffer | ReadableStream to determinsticArchive arg type
2 parents 2423f2e + 69c80c0 commit 8f8345b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deterministicArchive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async function resolveFilesRecursive(...dirsAndFiles) {
6464
* Creates a deterministic archive of the given files
6565
*
6666
* @param {string[]} dirsAndFiles
67-
* @param {{name: string, content: string}[]} contentToArchive
67+
* @param {{name: string, content: string | Buffer | ReadableStream}[]} contentToArchive
6868
* @returns {Promise<{buffer: Buffer, hash: string}>}
6969
*/
7070
export default async function deterministicArchive(

0 commit comments

Comments
 (0)