webr icon indicating copy to clipboard operation
webr copied to clipboard

lookupPath for non-existent path

Open Dual-Ice opened this issue 9 months ago • 2 comments

Hi, please tell me why when I use this.webr.FS.lookupPath(path) where path is some non-existent path - I get an error instead of, say, null or undefined. Because of this, I have to write hacks with try catch to check if something exists at the passed path.

Dual-Ice avatar Jan 21 '25 17:01 Dual-Ice