From 246db427642750a6a8b59b37d6797c74b6ff9846 Mon Sep 17 00:00:00 2001 From: Devid Farinelli Date: Sun, 28 Apr 2019 01:35:12 +0200 Subject: [PATCH] fix(opencollective prompt): fix grammar --- README.md | 4 ++-- bin/opencollective.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index af6864f0f8d..4ea446c1739 100644 --- a/README.md +++ b/README.md @@ -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`. \ No newline at end of file +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`. \ No newline at end of file diff --git a/bin/opencollective.js b/bin/opencollective.js index 3d8a2966d23..c09e43b1394 100644 --- a/bin/opencollective.js +++ b/bin/opencollective.js @@ -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"); @@ -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();