Skip to content

Commit

Permalink
Merge pull request #5 from lemo-nade-room/fix/logger-double-initialize
Browse files Browse the repository at this point in the history
fix: 🐛 Loggerの不必要な2回目の代入を削除
  • Loading branch information
lemo-nade-room authored Sep 9, 2024
2 parents 2a807c7 + 797947c commit b41adc2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/CLIKit/CommandContext+initDatabase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ extension CommandContext {
threadPool.start()
let databases = Databases(threadPool: threadPool, on: eventLoopGroup)
databases.use(.sqlite(.file(sqliteURL.absoluteString)), as: .sqlite)
await storage.set(key: Logger.self, logger)
await storage.set(key: NIOThreadPool.self, threadPool)
await storage.set(key: Databases.self, databases)

Expand Down

0 comments on commit b41adc2

Please sign in to comment.