mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-24 06:35:39 +00:00
Make all file contents be Arc<Vec<u8>> instead of &[u8]
This commit is contained in:
@@ -43,7 +43,7 @@ impl SnapshotMiddleware for SnapshotProject {
|
||||
return Ok(None);
|
||||
}
|
||||
|
||||
let project = Project::load_from_slice(entry.contents(vfs)?, entry.path())
|
||||
let project = Project::load_from_slice(&entry.contents(vfs)?, entry.path())
|
||||
.map_err(|err| SnapshotError::malformed_project(err, entry.path()))?;
|
||||
|
||||
// Snapshotting a project should always return an instance, so this
|
||||
|
||||
Reference in New Issue
Block a user