adobe / aio-lib-template-validation

NPM-based tool to validate App Builder templates during submission process to App Builder Template Registry
Apache License 2.0
1 stars 3 forks source link

tv reports "undefined" as number of total checks #21

Open oufimtse opened 6 days ago

oufimtse commented 6 days ago

Expected Behaviour

tv tool correctly reports total number of checks performed

Actual Behaviour

tv tool reports undefined as total number of checks performed

Reproduce Scenario (including but not limited to)

Steps to Reproduce

  1. Install tv tool
    npm i -g @adobe/aio-lib-template-validation
  2. Run the tool in the root folder of the template source code (I used https://github.com/adobe/aem-assets-details-ext-tpl)
    tv run-checks .
    2 of undefined tests passed.
    Tests:
    1) Validation of install.yaml file
    2) Validation of packages.json file

Platform and Version

Mac OS 14.3 (23D56)

node --version
v20.9.0
npm --version
10.1.0

Sample Code that illustrates the problem

n/a

Logs taken while reproducing problem

see above