Removing debug output
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2020-08-02 23:49:44 +02:00
parent 1c67cb22c5
commit 14171ea24b
2 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@denreg-tar", "name": "@denreg-tar",
"version": "0.2.0", "version": "0.2.1",
"description": "Pack and Unpack tar files", "description": "Pack and Unpack tar files",
"author": "Fabian Stamm <dev@fabianstamm.de>", "author": "Fabian Stamm <dev@fabianstamm.de>",
"contributors": [], "contributors": [],

View File

@ -66,8 +66,6 @@ export async function compress(
const walker = FS.walk(src, { includeDirs: true, includeFiles: true }); const walker = FS.walk(src, { includeDirs: true, includeFiles: true });
for await (const file of walker) { for await (const file of walker) {
const relativePath = Path.relative(root, file.path); const relativePath = Path.relative(root, file.path);
console.log("Adding file:", file, relativePath);
// if (!relativePath || relativePath === "") continue;
if (file.isDirectory) { if (file.isDirectory) {
await tar.append(relativePath, { await tar.append(relativePath, {
type: "directory", type: "directory",