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

README links to command source code result in 404 #21

Closed
shazron opened this issue Apr 14, 2020 · 0 comments · Fixed by #22
Closed

README links to command source code result in 404 #21

shazron opened this issue Apr 14, 2020 · 0 comments · Fixed by #22

Comments

@shazron
Copy link
Member

shazron commented Apr 14, 2020

Describe the bug
oclif/dev-cli has a bug where it assumes a version tag is prefixed by v when it should respect the setting in .npmrc. See oclif/dev-cli#123

Workaround is setting this key in the plugin's package.json:

"oclif": {
    "repositoryPrefix": "<%- repo %>/blob/<%- version %>/<%- commandPath %>"
  }

To Reproduce
See the section for a command in README.md, the link to the source goes to 404.

Expected behavior
The link works.

Actual behavior
The link does not work.

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 a pull request may close this issue.

1 participant