Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 07aacbe

Browse files
committed
fix(cli): fix typo: Appliaction -> Application
1 parent dada677 commit 07aacbe

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

cli/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Appliaction } from '../server/mod.ts'
1+
import { Application } from '../server/mod.ts'
22

33
export const helpMessage = `
44
Usage:
@@ -14,7 +14,7 @@ Options:
1414
`
1515

1616
export default async function (workingDir: string, options: Record<string, string | boolean>) {
17-
const app = new Appliaction(workingDir, 'production', Boolean(options.r || options.reload))
17+
const app = new Application(workingDir, 'production', Boolean(options.r || options.reload))
1818
await app.build()
1919
Deno.exit(0)
2020
}

cli/dev.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { Appliaction, parsePortNumber, serve } from '../server/mod.ts'
1+
import { Application, serve } from '../server/mod.ts'
2+
import { parsePortNumber } from '../server/util.ts'
23

34
export const helpMessage = `
45
Usage:
@@ -16,6 +17,6 @@ Options:
1617

1718
export default async function (workingDir: string, options: Record<string, string | boolean>) {
1819
const port = parsePortNumber(String(options.p || options.port || '8080'))
19-
const app = new Appliaction(workingDir, 'development', Boolean(options.r || options.reload))
20+
const app = new Application(workingDir, 'development', Boolean(options.r || options.reload))
2021
serve('localhost', port, app)
2122
}

cli/start.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { Appliaction, parsePortNumber, serve } from '../server/mod.ts'
1+
import { Application, serve } from '../server/mod.ts'
2+
import { parsePortNumber } from '../server/util.ts'
23

34
export const helpMessage = `
45
Usage:
@@ -18,6 +19,6 @@ Options:
1819
export default async function (workingDir: string, options: Record<string, string | boolean>) {
1920
const host = String(options.hn || options.hostname || 'localhost')
2021
const port = parsePortNumber(String(options.p || options.port || '8080'))
21-
const app = new Appliaction(workingDir, 'production', Boolean(options.r || options.reload))
22+
const app = new Application(workingDir, 'production', Boolean(options.r || options.reload))
2223
serve(host, port, app)
2324
}

0 commit comments

Comments
 (0)