I use this repo indirectly through go-task and noticed an unexpected result when executing the command pwd -P. The issue is outlined in go-task#533.
In essence, when executed from a symlinked directory, pwd -P outputs the symlink and not the actual physical location on disk.
Example:
mkdir real-dir
ln -s real-dir link-dir
cd link-dir
pwd -P
# => Expected: /path/to/real-dir
# => Actual: /path/to/link-dir
I use this repo indirectly through go-task and noticed an unexpected result when executing the command
pwd -P. The issue is outlined in go-task#533.In essence, when executed from a symlinked directory,
pwd -Poutputs the symlink and not the actual physical location on disk.Example: