Skip to content

Commit

Permalink
fix: use inclusive terms
Browse files Browse the repository at this point in the history
  • Loading branch information
chadian committed Jun 30, 2020
1 parent 14b30f4 commit c2ba74e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins plugin for oclif
* [What is this?](#what-is-this)
* [Usage](#usage)
* [Friendly names](#friendly-names)
* [Aliases/Blacklist](#aliasesblacklist)
* [Aliases](#aliases)
* [Commands](#commands)
<!-- tocstop -->

Expand Down Expand Up @@ -55,7 +55,7 @@ To make it simpler for users to install plugins, we have "friendly name" functio

To set this up, simply set the `oclif.scope` to the name of your npm org. In the example above, this would be `mynpmorg`.

# Aliases/Blacklist
# Aliases

Over time in the Heroku CLI we've changed plugin names, brought plugins into the core of the CLI, or sunset old plugins that no longer function. There is support in this plugin for dealing with these situations.

Expand Down
2 changes: 1 addition & 1 deletion src/commands/plugins/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ e.g. If you have a core plugin that has a 'hello' command, installing a user-ins
if (flags.verbose) this.plugins.verbose = true
const aliases = this.config.pjson.oclif.aliases || {}
for (let name of argv) {
if (aliases[name] === null) this.error(`${name} is blacklisted`)
if (aliases[name] === null) this.error(`${name} is blocked`)
name = aliases[name] || name
const p = await this.parsePlugin(name)
let plugin
Expand Down

0 comments on commit c2ba74e

Please sign in to comment.