Fix last __dirname and __filename usages

This commit is contained in:
Willy-JL
2024-11-02 04:02:08 +00:00
parent 3ea2ace360
commit 87ef8772c2
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -73,18 +73,18 @@ Transforms a string to lower case.
toLowerCase("Example") // "example"
```
## __dirpath
## __dirname
Path to the directory containing the current script.
### Examples:
```js
print(__dirpath); // /ext/apps/Scripts/Examples
print(__dirname); // /ext/apps/Scripts/Examples
```
## __filepath
## __filename
Path to the current script file.
### Examples:
```js
print(__filepath); // /ext/apps/Scripts/Examples/path.js
print(__filename); // /ext/apps/Scripts/Examples/path.js
```