* Use node-temp for temp file creation, cleanup, etc.

* Lots of WIP on FTN BSO import
* Fix double callbacks in ArchiveUtil
* Impl ArchiveUtil.extractTo()
* Update bunyan
This commit is contained in:
Bryan Ashby 2016-03-03 22:54:32 -07:00
parent 5c324788fe
commit 6094bed07f
4 changed files with 194 additions and 65 deletions

View file

@ -216,7 +216,7 @@ function getDefaultConfig() {
compressCmd : "7z",
compressArgs : [ "a", "-tzip", "{archivePath}", "{fileList}" ],
decompressCmd : "7z",
decompressArgs : [ "e", "-o{extractDir}", "{archivePath}" ]
decompressArgs : [ "e", "-o{extractPath}", "{archivePath}" ]
}
},
@ -245,9 +245,6 @@ function getDefaultConfig() {
outbound : paths.join(__dirname, './../mail/ftn_out/'),
inbound : paths.join(__dirname, './../mail/ftn_in/'),
secInbound : paths.join(__dirname, './../mail/ftn_secin/'),
// :TODO: use general temp path - system temp by default...or just always system temp?
temp : paths.join(__dirname, './../mail/ftn_temp'),
},
//