This should be other, otherwise it won't find the file that is Change::Added when it write to layer
@@ -337,7 +337,7 @@ impl Snapshot {
changes.push(Change::Added(path.into()))
}
}
- ChangeSet::new(&self.source_dir, &self.dest_dir, changes)
+ ChangeSet::new(&other.source_dir, &other.dest_dir, changes)
}
/// Create a set of changes by repeating the current snapshot
