What is the bug?
Every time in the REPL:
>console.log(require('fs').realpathSync('~'));
Uncaught:
Error: ENOENT: nosuchfileordirectory,lstat'/home/raisinten/Desktop/universe/temp/project/~'atObject.realpathSync(node:fs:1753:7){errno: -2,syscall: 'lstat',code: 'ENOENT',path: '/home/raisinten/Desktop/universe/temp/project/~'}What is the expected behavior?
>console.log(require('fs').realpathSync('~'));/home/raisintenundefined
What is the bug?
Every time in the REPL:
What is the expected behavior?