mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix live sync.
The refactor to use StructOpt instead of plain Clap had some absolute vs relative path issues that slipped through. This commit adds getters to each StructOpt struct that exposes an explicitly absolute version of each path value.
This commit is contained in:
parent
dd592d1d6d
commit
f2584cf807
4 changed files with 44 additions and 4 deletions
|
|
@ -78,7 +78,7 @@ fn build_inner(options: BuildCommand) -> Result<(), Error> {
|
|||
log::trace!("Constructing in-memory filesystem");
|
||||
let vfs = Vfs::new(RealFetcher::new(WatchMode::Disabled));
|
||||
|
||||
let (_maybe_project, tree) = common_setup::start(&options.project, &vfs);
|
||||
let (_maybe_project, tree) = common_setup::start(&options.absolute_project(), &vfs);
|
||||
let root_id = tree.get_root_id();
|
||||
|
||||
log::trace!("Opening output file for write");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue