diff options
-rw-r--r-- | CI/supporttest.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CI/supporttest.js b/CI/supporttest.js index b3e3323..c3e083a 100644 --- a/CI/supporttest.js +++ b/CI/supporttest.js @@ -7,10 +7,9 @@ let fs = require("fs") let errors = [] - console.log(__dirname) - let dirName = (__dirname).split("\\") + let dirName = (__dirname).split(/[\\/]/g) dirName.pop() - dirName = dirName.join("\\") + dirName = dirName.join("/") console.log("Reading directory... " + dirName) |