Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianGonz97 committed Nov 7, 2024
1 parent 19e80da commit b2af1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function formatDescription(arg: Option | Argument): string {

type MaybePromise = () => Promise<void> | void;

export async function runCommand(action: MaybePromise) {
export async function runCommand(action: MaybePromise): Promise<void> {
try {
p.intro(`Welcome to the Svelte CLI! ${pc.gray(`(v${pkg.version})`)}`);
await action();
Expand Down Expand Up @@ -114,7 +114,7 @@ export async function packageManagerPrompt(cwd: string): Promise<AgentName | und
return pm;
}

export async function installDependencies(agent: AgentName, cwd: string) {
export async function installDependencies(agent: AgentName, cwd: string): Promise<void> {
const spinner = p.spinner();
spinner.start('Installing dependencies...');
try {
Expand Down

0 comments on commit b2af1bb

Please sign in to comment.