Skip to content

Commit

Permalink
Linter: Fix extra-files check
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Feb 14, 2021
1 parent dfd7a2f commit ce3e0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lint.ml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module Check = struct
let check_hash file hash = try OpamHash.check_file file hash with _ -> false in
let extra_files =
List.map (fun file ->
(OpamFilename.Base.of_string file, check_hash (dir // file))
(OpamFilename.Base.of_string file, check_hash (dir // "files" // file))
) extra_files
in
aux errors extra_files files
Expand Down

0 comments on commit ce3e0c2

Please sign in to comment.