[PR #6848/11406715 backport][stable-7] npm: replace test with required_if (#6856)

npm: replace test with required_if (#6848)

* npm: replace test with required_if

* add changelog frag

(cherry picked from commit 11406715f5)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2023-07-06 06:42:25 +02:00 committed by GitHub
commit 42cc5280d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 14 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- npm - minor improvement on parameter validation (https://github.com/ansible-collections/community.general/pull/6848).