Skip to content

Commit fa9c01c

Browse files
authored
chore: remove extra await in spinner example (#211)
1 parent 00dde52 commit fa9c01c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/spinner.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { consola } from "./utils";
22

33
async function main() {
4-
await consola.start("Creating project...");
4+
consola.start("Creating project...");
55
await new Promise((resolve) => setTimeout(resolve, 1000));
6-
await consola.success("Project created!");
6+
consola.success("Project created!");
77
}
88

99
main();

0 commit comments

Comments
 (0)