Fix issue where tar-fs would complain about missing files
This is being tracked in upstream issue - https://github.com/mafintosh/tar-fs/issues/81 We use a custom fork of tar-fs for now Fixes #628
This commit is contained in:
@@ -286,6 +286,10 @@ function tarPack(dataLayout, key, callback) {
|
||||
var pack = tar.pack('/', {
|
||||
dereference: false, // pack the symlink and not what it points to
|
||||
entries: dataLayout.localPaths(),
|
||||
ignoreFileRemoved: (path, err) => {
|
||||
debug(`tarPack: ${path} got removed (${err.code}). ignoring`);
|
||||
return true;
|
||||
},
|
||||
map: function(header) {
|
||||
header.name = dataLayout.toRemotePath(header.name);
|
||||
return header;
|
||||
|
||||
Reference in New Issue
Block a user