Skip to content

Commit 246db42

Browse files
committed
fix(opencollective prompt): fix grammar
1 parent d4643ae commit 246db42

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ The webpack family welcomes any contributor, small or big. We are happy to elabo
9494

9595
## Open Collective
9696

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

99-
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`.
99+
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`.

bin/opencollective.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function printBadge() {
2424
console.log("\n");
2525
print(`${chalk.bold("Thanks for using")} ${chalk.bold.blue("Webpack!")}`);
2626
print(`Please consider donating to our ${chalk.bold.blue("Open Collective")}`);
27-
print("to help us maintain this package.");
27+
print("to help us to maintain this package.");
2828
console.log("\n\n");
2929
print(`${emoji("👉")} ${chalk.bold.yellow(" Donate:")} ${chalk.reset.underline.yellow("https://opencollective.com/webpack/donate")}`);
3030
console.log("\n");
@@ -33,6 +33,6 @@ function printBadge() {
3333
function isTrue(value) {
3434
return !!value && value !== "0" && value !== "false";
3535
}
36-
var envDisable = isTrue(process.env.DISABLE_OPENCOLLECTIVE) || isTrue(process.env.CI);
36+
const envDisable = isTrue(process.env.DISABLE_OPENCOLLECTIVE) || isTrue(process.env.CI);
3737

3838
if (!envDisable) printBadge();

0 commit comments

Comments
 (0)