mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
Make ServeSession::new fallible
This commit is contained in:
parent
9c790eddd7
commit
03c297190d
4 changed files with 10 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ pub fn upload(options: UploadCommand) -> Result<(), anyhow::Error> {
|
|||
|
||||
let vfs = Vfs::new_default();
|
||||
|
||||
let session = ServeSession::new(vfs, &options.absolute_project());
|
||||
let session = ServeSession::new(vfs, &options.absolute_project())?;
|
||||
|
||||
let tree = session.tree();
|
||||
let inner_tree = tree.inner();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue