lib/bibliothecary/parsers/elm.rb in bibliothecary-6.2.1 vs lib/bibliothecary/parsers/elm.rb in bibliothecary-6.3.0
- old
+ new
@@ -5,14 +5,14 @@
class Elm
include Bibliothecary::Analyser
def self.mapping
{
- /^elm-package\.json$|^elm_dependencies\.json$/ => {
+ /(^elm-package\.json$|^elm_dependencies\.json$|.*\/elm-package\.json$|.*\/elm_dependencies\.json$)/ => {
kind: 'manifest',
parser: :parse_json_runtime_manifest
},
- /^elm-stuff\/exact-dependencies\.json$/ => {
+ /(^elm-stuff\/exact-dependencies\.json$|.*\/elm-stuff\/exact-dependencies\.json$)/ => {
kind: 'lockfile',
parser: :parse_json_lock
}
}
end