Skip to content

Commit

Permalink
Match filename instead of full qualified name in linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
foretspaisibles committed Aug 14, 2024
1 parent 4bb0b64 commit 76ae249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lint.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ for CONTENTS are a string or a list of strings."
(error "A :HAS-NAME clause must have one argument."))
(unless (stringp (first expr))
(error "A :HAS-NAME clause must have a string agument."))
(string= (first expr) (namestring pathname)))
(string= (first expr) (file-namestring pathname)))
(has-shebang (expr)
(let ((first-line
(first (read-file-into-list pathname))))
Expand Down

0 comments on commit 76ae249

Please sign in to comment.