Open lkmorlan opened 3 years ago
dev modules should not have a "version" key. "core" key is a problem, info-rewrite should not add that any more.
It should probably also not add a version
key if one already exists. I know that version
should not already exist, but in modules, it's there.
When running this in Drupal 9, I am seeing:
Unable to parse ....info.yml Duplicate key "core" detected at line 13 (near "core: '8.x'").
Unable to parse ....info.yml Duplicate key "version" detected at line 9 (near "version: '8.x-3.4'").
info-rewrite adds a
core
key, but this is often already present (though it should now becore_version_requirement
). Info files often haveversion: VERSION
. info-rewrite will probably need to updateversion: VERSION
instead of appending a secondversion
key with the actual version.