__dirname always returns "/" no matter which file I console log it out

66 views Asked by At
console.log("__dirname: ", __dirname);

no matter which file or nested file I place the above code in, it always logs "/".

0

There are 0 answers