mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Load built-in plugin from absolute path to make errors more apparent
This commit is contained in:
parent
4cbb3874a4
commit
9453588ab1
1 changed files with 2 additions and 2 deletions
|
|
@ -36,10 +36,10 @@ pub fn install_plugin() -> Result<()> {
|
|||
}
|
||||
|
||||
let mut in_memory_fs = InMemoryFs::new();
|
||||
in_memory_fs.load_snapshot("plugin", plugin_snapshot)?;
|
||||
in_memory_fs.load_snapshot("/plugin", plugin_snapshot)?;
|
||||
|
||||
let vfs = Vfs::new(in_memory_fs);
|
||||
let session = ServeSession::new(vfs, "plugin")?;
|
||||
let session = ServeSession::new(vfs, "/plugin")?;
|
||||
|
||||
let plugin_path = plugins_folder_path.join(PLUGIN_FILE_NAME);
|
||||
log::debug!("Writing plugin to {}", plugin_path.display());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue