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
Create a file by uisng util.writeFile.
Test if file exist.
var data = "super";
util.writeFile("myfile.txt", data, true);
script.log(util.fileExists("myfile.txt"));
Expected behavior
util.fileExists should report 1
Additional context
If you provide absolute path for the file name, util.fileExists report 1.
This should follow the same logic as the file creation to determine the path.
The text was updated successfully, but these errors were encountered:
Describe the bug
util.fileExists report zero
To Reproduce
Create a file by uisng util.writeFile.
Test if file exist.
Expected behavior
util.fileExists should report 1
Additional context
If you provide absolute path for the file name, util.fileExists report 1.
This should follow the same logic as the file creation to determine the path.
The text was updated successfully, but these errors were encountered: