Closed rscnt closed 1 year ago
This change aims to introduce a new option to the deprecations command to allow for a custom path to be defined.
It adds a new option "--shitlist-path" where the user could defined a custom deprecation json file path.
bin/deprecations --shitlist-path spec/support/deprecations.json info
The DeprecationTracker allows to define a "shitlist_path" option when when declaring a tracker for rspec or minitest.
But this custom path cannot be used with the "deprecations" command, since until now it expects a fixed path.
I will abide by the code of conduct
Description
This change aims to introduce a new option to the deprecations command to allow for a custom path to be defined.
It adds a new option "--shitlist-path" where the user could defined a custom deprecation json file path.
Motivation and Context
The DeprecationTracker allows to define a "shitlist_path" option when when declaring a tracker for rspec or minitest.
But this custom path cannot be used with the "deprecations" command, since until now it expects a fixed path.
How Has This Been Tested?
Screenshots:
I will abide by the code of conduct