adobe / adobe/Marketo-SSFS-Service-Provider-Interface

Validation script argument handling inconsistent with readme documentation

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
9
PR merge metrics
No merged PRs in 30d

Description

### Expected Behaviour

JS validation script will run as documented in readme `npm run validateFile ./schema.yaml `

### Actual Behaviour
Fails due to mismatch between documentation and how args are handled in the code

### Reproduce Scenario (including but not limited to)
try running the script as documented

#### Steps to Reproduce

#### Platform and Version

#### Sample Code that illustrates the problem
`validateFile(process.argv[1], process.argv[2])`
should be
`validateFile(process.argv[3], process.argv[2])`
if it is to be consistent with docs. (wrong number arg numbers and out of order)

#### Logs taken while reproducing problem

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.