- Notifications
You must be signed in to change notification settings - Fork221
feat: warn users about missing LICENSE#628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I have read through the README, but I don't know how I can set up dev environment to reporuce the case.
Yeah, the current steps seems to be broken. I've fixed those inmain
.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
2304ec7
to47f8256
Compare47f8256
to90d6112
CompareAndrewnt219 commentedOct 12, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@joaomoreno I have resolved those issues you mentioned. Just a bit uncertain about the LICENSE name. Do you want me to extract that matching logic into a private method of |
Yeah I would store that into a private |
Done. You can refer to the |
Uh oh!
There was an error while loading.Please reload this page.
261862a
tocc205d4
CompareAndrewnt219 commentedOct 12, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Somehow, the last commit removed some brackets from the method |
Co-authored-by: João Moreno <mail@joaomoreno.com>
cc205d4
toe92377b
CompareAndrewnt219 commentedOct 12, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
ah, it is because of the dot in |
Fixed test [toVsixManifest] should automatically detect license files:
0c886f5
to1f867a6
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Added a few more commits on top.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Thanks! |
@joaomoreno No problem. I'd also be really happy if you can label this PR as |
lnicola commentedDec 3, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I'm not sure how this is supposed to work, but if the license is already defined as a SPDX string in |
joaomoreno commentedDec 6, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@lnicola The SPDX string only changes the licence file name to look for. It will always look for a license file. |
Uh oh!
There was an error while loading.Please reload this page.
Motivation
Fixes#603
When the code fails to automatically detect a LICENSE file, it now warns the users if they want to continue.
Test Plan
Run
vsce package
without aLICENSE
should generate a warning message.