Skip to content

Commit 07c7af7

Browse files
committed
chore(tools-scripts): Remove usused await before echo call
1 parent f9c5752 commit 07c7af7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tools/scripts/src/bootstrap.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import { chalk, echo } from "zx";
2020

2121
try {
22-
await echo`${chalk.whiteBright("⚙️ Bootstrapping the monorepo...")}`;
22+
echo`${chalk.whiteBright("⚙️ Bootstrapping the monorepo...")}`;
2323

2424
// await build({
2525
// entryPoints: [

tools/scripts/src/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ try {
3030
}
3131
}
3232

33-
await echo`${chalk.whiteBright(`📦 Building the monorepo in ${configuration} mode...`)}`;
33+
echo`${chalk.whiteBright(`📦 Building the monorepo in ${configuration} mode...`)}`;
3434

3535
let proc = $`pnpm bootstrap`.timeout("60s");
3636
proc.stdout.on("data", data => {

tools/scripts/src/format.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import { $, argv, chalk, echo } from "zx";
2020

2121
try {
22-
await echo`${chalk.whiteBright("🎨 Formatting the monorepo...")}`;
22+
echo`${chalk.whiteBright("🎨 Formatting the monorepo...")}`;
2323

2424
let files = "";
2525
if (argv._ && argv._.length > 0) {

tools/scripts/src/lint.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import { $, chalk, echo } from "zx";
2020

2121
try {
22-
await echo`${chalk.whiteBright("📋 Linting the monorepo...")}`;
22+
echo`${chalk.whiteBright("📋 Linting the monorepo...")}`;
2323

2424
let proc =
2525
$`pnpm nx run-many --target=lint --all --exclude="@monorepo-template/monorepo" --parallel=5`.timeout(

tools/scripts/src/nuke.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import { $, chalk, echo } from "zx";
2020

2121
try {
22-
await echo`${chalk.whiteBright("💣 Nuking the monorepo...")}`;
22+
echo`${chalk.whiteBright("💣 Nuking the monorepo...")}`;
2323

2424
let proc = $`pnpm nx clear-cache`.timeout(`${5 * 60}s`);
2525
proc.stdout.on("data", data => {

0 commit comments

Comments
 (0)