adobe / aio-cli-plugin-asset-compute

Asset Compute Plugin for Adobe I/O Command Line Interface
Apache License 2.0
1 stars 7 forks source link

init hook breaks contracts #94

Open purplecabbage opened 1 year ago

purplecabbage commented 1 year ago

There is hacky code in the published init hook which modifies oclif's internal config plugin list. Plugins should interact with the system through the apis of the system and not go and modify things, especially with hooks as they run for every command, not just asset-compute commands.

This is similar to previous practices where JS libraries would rewrite prototypes for other objects.