mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
Scripts: variables follow the topmost-first page item order and the gate's linked-file argument
This commit is contained in:
1 parent
2909471ebc
commit
27c3f8cb29
2 files changed
+3
-3
No files matched your search
@@ -352,7 +352,7 @@ fn file_arg(h: &Host, a: &[Data], what: &str, access: Access) -> std::result::Re
|
||||
if path.chars().count() > super::super::files::MAX_PATH_CHARS {
|
||||
return Err(HostError::Range(format!("{what}: the path is too long")));
|
||||
}
|
||||
let gate = h.disk.borrow().gate(Vec::new());
|
||||
let gate = h.disk.borrow().gate(Vec::new(), crate::file_access::LinkedFiles::default());
|
||||
gate.check(path, access).map_err(HostError::Error)?;
|
||||
Ok(path.to_string())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user