fix(lib): print!: don't resolve printed symlinks
This commit is contained in:
parent
703173a6d2
commit
7e7d8ebdfd
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ and `format!' into colored output, where COLOR is any car of this list (or
|
|||
(not (stringp str))
|
||||
(string-blank-p str))
|
||||
str
|
||||
(let ((dir (or dir (file-truename default-directory)))
|
||||
(str (file-truename str)))
|
||||
(let* ((dir (or dir default-directory))
|
||||
(str (expand-file-name str dir)))
|
||||
(if (file-in-directory-p str dir)
|
||||
(file-relative-name str dir)
|
||||
(abbreviate-file-name str))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue