Replies: 1 comment 1 reply
-
|
I think that will only work in Rust where the cwd (current working dir) is set correctly. I don't think we plan to add support for this either since it's generally fairly limited in use. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to read a file (
fs.readTextFile) located relative to the project directory. I am aware of$RESOURCEbut$RESOURCEis only useful when I am testing a build. Is there a way to add the current project file tofs > scopeduring dev? Thank you 🙏Sidenote: I also tried working around it by creating a symlink from
$DOCUMENTto where the file is located, but I am still getting theUnhandled Promise Rejection: path not allowed on the configured scopeerror 😅Beta Was this translation helpful? Give feedback.
All reactions