diff options
author | Yash Singh <saiansh2525@gmail.com> | 2021-04-08 20:56:34 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-04-14 19:42:51 +0300 |
commit | f9b639eb6c504ded6cdd59e83e26a392bfe81e5d (patch) | |
tree | 997ad7d8ddb8e281128602795b137426a04112d0 /docs | |
parent | 58914be753e769c534aecc64b5c1883d195cd6dd (diff) |
feat(bugs): fall back to email if provided
If a bugs url is not provided, but a `mailto` is, then that is used.
PR-URL: https://github.com/npm/cli/pull/3052
Credit: @Yash-Singh1
Close: #3052
Reviewed-by: @wraithgar
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/commands/npm-bugs.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/commands/npm-bugs.md b/docs/content/commands/npm-bugs.md index dd1ab299f..714db4440 100644 --- a/docs/content/commands/npm-bugs.md +++ b/docs/content/commands/npm-bugs.md @@ -15,9 +15,9 @@ aliases: issues ### Description This command tries to guess at the likely location of a package's bug -tracker URL, and then tries to open it using the `--browser` config param. -If no package name is provided, it will search for a `package.json` in the -current folder and use the `name` property. +tracker URL or the `mailto` URL of the support email, and then tries to +open it using the `--browser` config param. If no package name is provided, it +will search for a `package.json` in the current folder and use the `name` property. ### Configuration |