mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Make ServeSession::new fallible
This commit is contained in:
parent
9c790eddd7
commit
03c297190d
4 changed files with 10 additions and 6 deletions
|
|
@ -18,7 +18,7 @@ const DEFAULT_PORT: u16 = 34872;
|
|||
pub fn serve(global: GlobalOptions, options: ServeCommand) -> Result<()> {
|
||||
let vfs = Vfs::new_default();
|
||||
|
||||
let session = Arc::new(ServeSession::new(vfs, &options.absolute_project()));
|
||||
let session = Arc::new(ServeSession::new(vfs, &options.absolute_project())?);
|
||||
|
||||
let port = options
|
||||
.port
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue