Skip to content

Commit

Permalink
refactor: remove unused syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
minenwerfer committed Mar 4, 2024
1 parent 9024792 commit 64fcc4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/aeria-build/src/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const compileAndSpawn = async () => {
})

const config = await getConfig()
writeMirrorFiles(mirror, config)
await writeMirrorFiles(mirror, config)

} catch( err: any ) {
if( err.code !== 'MODULE_NOT_FOUND' ) {
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/use.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createContext } from './context.js'
import { getDatabase } from './database.js'

export const useAeria = async () => {
void await getDatabase()
await getDatabase()

const context = await createContext({
config: await getConfig(),
Expand Down
4 changes: 2 additions & 2 deletions packages/server/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const init = <const TInitOptions extends InitOptions>(_options: TInitOpti
})

console.time('warmup')
void await warmup()
await warmup()

console.log()
console.timeEnd('warmup')
Expand Down Expand Up @@ -98,7 +98,7 @@ export const init = <const TInitOptions extends InitOptions>(_options: TInitOpti
})

if( !options.config?.database?.noDatabase ) {
void await getDatabase()
await getDatabase()
}

server.listen()
Expand Down

0 comments on commit 64fcc4a

Please sign in to comment.