4 ms·
Quick note about the section on "Relative paths": `fs` paths _are_ relative to `process.cwd()` but `__dirname` reflects the directory that contains the current
by skeoh 10y ago
Quick note about the section on "Relative paths": `fs` paths _are_ relative to `process.cwd()` but `__dirname` reflects the directory that contains the current file. Those two directories are not necessarily the same thing.
- bubble_boi 10y agoI see now I wasn't clear on that. I've updated the example to show that the paths won't be the same.