Skip to content

Commit

Permalink
nasdf/install: Fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadcg committed Nov 13, 2023
1 parent a6cc190 commit 1ea6cf8
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions libraries/nasdf/install.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -310,17 +310,13 @@ They are either listed with 'git ls-files' or directly if Git is not found."
(ensure-directory-pathname exclusion)
(ensure-directory-pathname source))))
(exclude-subpath component))))
(remove-if (lambda (file)
(or (file-excluded-type file (exclude-types component))
(let ((file-string (namestring file)))
(some (lambda (exclusion)
(string-prefix-p exclusion file-string))
absolute-exclusions))))
(mapcar (lambda (path)
(ensure-pathname path :truenamize t))
(git-ls-files
root
source)))))
(remove-if (lambda (file) (or (file-excluded-type file (exclude-types component))
(let ((file-string (namestring file)))
(some (lambda (exclusion) (string-prefix-p exclusion
file-string))
absolute-exclusions))))
(mapcar (lambda (path) (ensure-pathname path :truenamize t))
(git-ls-files root source)))))
(error (c)
(warn "~a~&Git error, falling back to direct listing." c)
(with-current-directory (root)
Expand Down

0 comments on commit 1ea6cf8

Please sign in to comment.