Skip to content

Commit

Permalink
fix(opencollective prompt): fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
misterdev committed May 3, 2019
1 parent d4643ae commit 246db42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -94,6 +94,6 @@ The webpack family welcomes any contributor, small or big. We are happy to elabo

## Open Collective

If you like **webpack** Please consider donating to our [Open Collective](https://opencollective.com/webpack) to help us maintain it.
If you like **webpack** Please consider donating to our [Open Collective](https://opencollective.com/webpack) to help us to maintain it.

We show this message in the terminal once in a while, if you want you can disable it by setting the environment variable `DISABLE_OPENCOLLECTIVE=true` or `CI=true`.
We show this message in the terminal once a week, if you want you can disable it by setting the environment variable `DISABLE_OPENCOLLECTIVE=true` or `CI=true`.
4 changes: 2 additions & 2 deletions bin/opencollective.js
Expand Up @@ -24,7 +24,7 @@ function printBadge() {
console.log("\n");
print(`${chalk.bold("Thanks for using")} ${chalk.bold.blue("Webpack!")}`);
print(`Please consider donating to our ${chalk.bold.blue("Open Collective")}`);
print("to help us maintain this package.");
print("to help us to maintain this package.");
console.log("\n\n");
print(`${emoji("👉")} ${chalk.bold.yellow(" Donate:")} ${chalk.reset.underline.yellow("https://opencollective.com/webpack/donate")}`);
console.log("\n");
Expand All @@ -33,6 +33,6 @@ function printBadge() {
function isTrue(value) {
return !!value && value !== "0" && value !== "false";
}
var envDisable = isTrue(process.env.DISABLE_OPENCOLLECTIVE) || isTrue(process.env.CI);
const envDisable = isTrue(process.env.DISABLE_OPENCOLLECTIVE) || isTrue(process.env.CI);

if (!envDisable) printBadge();

0 comments on commit 246db42

Please sign in to comment.