JS: More fixes

This commit is contained in:
Willy-JL
2024-10-16 11:53:07 +01:00
parent f5e4b4bef4
commit 6b4e94ec58
2 changed files with 1 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ let storage = require("storage");
print("script has __dirpath of" + __dirpath);
print("script has __filepath of" + __filepath);
if (storage.exists(__dirpath + "/math.js")) {
if (storage.fileExists(__dirpath + "/math.js")) {
print("math.js exist here.");
} else {
print("math.js does not exist here.");