mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-18 23:07:27 +02:00
fix(fs): pass require_literal_leading_dot when initializing runtime scope (#3701)
When initializing the plugin's runtime scope in .setup, pass equire_literal_leading_dot from config to FsScope::Scope instead of using FsScope::default() so that paths allowed dynamically via s_scope().allow_directory() inherit the configured value. Closes #3699
This commit is contained in:
1 parent
4356356dab
commit
f8296d038f
2 files changed
+19
-5
No files matched your search
@@ -0,0 +1,6 @@
|
||||
---
|
||||
fs: patch
|
||||
fs-js: patch
|
||||
---
|
||||
|
||||
Fix `plugins.fs.requireLiteralLeadingDot` being ignored for paths allowed with `fs_scope().allow_directory()`.
|
||||
Reference in new issue
Block a user