We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd162f commit edb9f95Copy full SHA for edb9f95
1 file changed
vlib/os/os_js.js.v
@@ -40,6 +40,8 @@ fn kind_of_existing_path(path string) PathKind {
40
$if js_node {
41
#is_link.val = $fs.existsSync(path.str) && $fs.lstatSync(path.str).isSymbolicLink()
42
#is_dir.val = $fs.existsSync(path,str) && $fs.lstatSync(path.str).isDirectory()
43
+ } $else {
44
+ _ = path
45
}
46
return PathKind{
47
is_dir: is_dir
0 commit comments