pact-foundation / pact-js

JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
https://pact.io
Other
1.61k stars 344 forks source link

Fix/prevent absolute imports #975

Closed mefellows closed 1 year ago

mefellows commented 1 year ago

This change detects any use of absolute paths such as dsl/message, resulting in a compilation failure.

VS Code (and hopefully other IDEs) will not auto-suggest/import these paths, and provide helpful hints such as the following if they are used:

Screen Shot 2022-11-14 at 10 33 11 pm

See also #974

mefellows commented 1 year ago

The Windows build failure is unrelated, it seems the recent "fix" for that did not stick 🤔 .