Commit 0ec6c687 authored by priit's avatar priit

Arhiivi lahtipakkija vigase väljundi parandus

parent 77eb9b6d
...@@ -73,7 +73,7 @@ function ArchiveExtractor() { ...@@ -73,7 +73,7 @@ function ArchiveExtractor() {
return callback(err, session); return callback(err, session);
} }
if (isFile && isTextOrBinary.isTextSync(entry.path)) { if (isFile /*&& isTextOrBinary.isTextSync(entry.path)*/) {
var uniqid = randomstring.generate(10); var uniqid = randomstring.generate(10);
var filePath = path.join(directory, uniqid); var filePath = path.join(directory, uniqid);
logger.debug('Filepath: ' + filePath); logger.debug('Filepath: ' + filePath);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment