Skip to content

Commit

Permalink
Fix a broken when-let*
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Jan 30, 2025
1 parent 09fd852 commit 7019a04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -4030,10 +4030,10 @@ should be strings, nil returned if this is not the case."
Return a path relative to the project root for the test file of FILE-NAME
using the src-dir and test-dir properties of the current project type which
should be strings, nil returned if this is not the case."
(when-let* (complementary-file (projectile--complementary-file
file-name
#'projectile--impl-to-test-dir
#'projectile--test-name-for-impl-name))
(when-let* ((complementary-file (projectile--complementary-file
file-name
#'projectile--impl-to-test-dir
#'projectile--test-name-for-impl-name)))
(file-relative-name complementary-file (projectile-project-root))))

(defun projectile--impl-file-from-src-dir-fn (test-file)
Expand Down

0 comments on commit 7019a04

Please sign in to comment.