davidrjonas / composer-lock-diff

See what has changed after a composer update
MIT License
274 stars 18 forks source link

Use current path by default #7

Closed paxal closed 6 years ago

paxal commented 6 years ago

When you launch the program without options in a directory you have your composer.lock in, it will try to make the diff with the composer.lock file located in the git root directory.

This patch uses the current directory composer.lock file instead (as done with the default --to option).

davidrjonas commented 6 years ago

Hey, sorry I haven't gotten to this. It looks fine at first glance. I'm going to take it for a spin soon and likely just accept it.

Thanks for taking the time!

davidrjonas commented 6 years ago

I incorporated the concept and expanded on it a little bit, adding --path. See 4d093d5679e61683704bd4245ce263ece965aadd

paxal commented 6 years ago

As long as it works :)