Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a relativeLicensePath option to display the license file relatively to the current path. #61

Merged
merged 2 commits into from
Mar 9, 2016

Conversation

sgtdck
Copy link
Contributor

@sgtdck sgtdck commented Mar 9, 2016

  • Added a relativeLicensePath option to display the license file relatively to the current path.
  • Added tests to validate workings
  • Updated README
  • Added contributor :)

I've used license-checker to export all dependencies + license file locations to a single file, but the paths were absolute: /Users/sgtdck/Workspace/license-checker/node_modules/yui-lint/LICENSE. To include this single file in my repo (i.e. 'third party licenses') I had to s/find/replace them.

With the option --relativeLicensePath the paths are now displayed relatively to the eldest parent (i.e. dir where license-checker is executed.

…tively to the current path.

Added tests to validate workings
Updated README

Added contributor :)
@davglass
Copy link
Owner

davglass commented Mar 9, 2016

Awesome, thanks!

davglass added a commit that referenced this pull request Mar 9, 2016
Added a relativeLicensePath option to display the license file relatively to the current path.
@davglass davglass merged commit 6dbf150 into davglass:master Mar 9, 2016
@davglass
Copy link
Owner

davglass commented Mar 9, 2016

Published in [email protected]

@sgtdck
Copy link
Contributor Author

sgtdck commented Mar 9, 2016

\o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants