Skip to content

Commit 76ae249

Browse files
Match filename instead of full qualified name in linting rules
1 parent 4bb0b64 commit 76ae249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lint.lisp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ for CONTENTS are a string or a list of strings."
714714
(error "A :HAS-NAME clause must have one argument."))
715715
(unless (stringp (first expr))
716716
(error "A :HAS-NAME clause must have a string agument."))
717-
(string= (first expr) (namestring pathname)))
717+
(string= (first expr) (file-namestring pathname)))
718718
(has-shebang (expr)
719719
(let ((first-line
720720
(first (read-file-into-list pathname))))

0 commit comments

Comments
 (0)