ymotongpoo / vsc-licenser

License handler extension for Visual Studio Code.
Apache License 2.0
45 stars 40 forks source link

Incorrect handling of multi-root workspaces #100

Open gudvinr opened 3 years ago

gudvinr commented 3 years ago

Runtime environment

Behaviors

Expected behavior

  1. Create LICENSE file in any "root" of multi-root workspace.
  2. Use configuration from this "root" if available

Actual behavior

  1. LICENSE file created in first available "root" of multi-root workspace
  2. licenser can't use configuration from particular "root" and uses standard license (Apache)

Steps to reproduce the issue

  1. Open multi-root workspace
  2. Try to create LICENSE file in every "root" of multi-root workspace with custom configuration (or without one)