You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this an intended behavior? I expected these properties to be filled with the actual file name and path.
$ deno run --allow-read http://danoweb.site/stat_test.ts test.txt
Downloading http://danoweb.site/stat_test.ts
Compiling http://danoweb.site/stat_test.ts
stat null null
lstat null null
stat_test.ts looks like this:
try{conststat=Deno.statSync(Deno.args[1]);console.log("stat",stat.name,stat.path);constlstat=Deno.lstatSync(Deno.args[1]);console.log("lstat",lstat.name,lstat.path);}catch(e){console.error("specified file not found");}
Is this an intended behavior? I expected these properties to be filled with the actual file name and path.
stat_test.ts looks like this:
test code is also available at: https://danoweb.site/stat_test.ts?mode=edit
The text was updated successfully, but these errors were encountered: