This commit is contained in:
parent
1c67cb22c5
commit
14171ea24b
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@denreg-tar",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"description": "Pack and Unpack tar files",
|
||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||
"contributors": [],
|
||||
|
@ -66,8 +66,6 @@ export async function compress(
|
||||
const walker = FS.walk(src, { includeDirs: true, includeFiles: true });
|
||||
for await (const file of walker) {
|
||||
const relativePath = Path.relative(root, file.path);
|
||||
console.log("Adding file:", file, relativePath);
|
||||
// if (!relativePath || relativePath === "") continue;
|
||||
if (file.isDirectory) {
|
||||
await tar.append(relativePath, {
|
||||
type: "directory",
|
||||
|
Loading…
Reference in New Issue
Block a user