Skip to content

Commit 8090c8a

Browse files
committed
warn against compressing .z files again
1 parent c336666 commit 8090c8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/compress.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ function processFiles(files, isDecompress, keep) {
113113
}
114114
console.log(` Decompressing to: ${outputFilename}`);
115115
} else {
116+
if (path.extname(inputFilename) === '.z') {
117+
console.warn(` Warning: Input file already has a .z extension.`);
118+
}
116119
outputFilename = `${inputFilename}.z`;
117120
}
118121

0 commit comments

Comments
 (0)