mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 04:51:47 +00:00
Make all file contents be Arc<Vec<u8>> instead of &[u8]
This commit is contained in:
parent
1031600c63
commit
1967f738a8
9 changed files with 27 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue