You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have triple checked, that there are no unhandled promises in my code
I have set my log level to debug and attached a log file showing the complete request/response cycle
For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem
Expected behaviour
CLIs handle quoted parameters with spaces, e.g. "my pact.json", as a single parameter.
Actual behaviour
Since v14.3.5, CLIs now treat quoted parameters as individual parameters, e.g. "my pact.json" is treated as two parameters mypact.json.
Steps to reproduce
An easy way to reproduce the issue is to run a CLI from v14.3.5 or v14.3.6 using npx. e.g. npx --package=@pact-foundation/[email protected] -c 'pact-broker publish "my pact.json" --consumer-app-version 1'
The error output highlights that the filename (in bold) has been truncated at the space.
Specified pact file 'my' does not exist.
Compared to running the same command with v14.3.4. npx --package=@pact-foundation/[email protected] -c 'pact-broker publish "my pact.json" --consumer-app-version 1'
Specified pact file 'my pact.json' does not exist.
The text was updated successfully, but these errors were encountered:
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
CLIs handle quoted parameters with spaces, e.g.
"my pact.json"
, as a single parameter.Actual behaviour
Since v14.3.5, CLIs now treat quoted parameters as individual parameters, e.g.
"my pact.json"
is treated as two parametersmy
pact.json
.Steps to reproduce
An easy way to reproduce the issue is to run a CLI from v14.3.5 or v14.3.6 using npx. e.g.
npx --package=@pact-foundation/[email protected] -c 'pact-broker publish "my pact.json" --consumer-app-version 1'
The error output highlights that the filename (in bold) has been truncated at the space.
Compared to running the same command with v14.3.4.
npx --package=@pact-foundation/[email protected] -c 'pact-broker publish "my pact.json" --consumer-app-version 1'
The text was updated successfully, but these errors were encountered: