Skip to content

Commit

Permalink
fix: update remaining callsites
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Oct 9, 2023
1 parent f3705cd commit 7aa23aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class DenoBridge {
this.cacheDirectory = options.cacheDirectory ?? getPathInHome('deno-cli')
this.debug = options.debug ?? false
this.denoDir = options.denoDir
this.logger = options.logger ?? getLogger(undefined, options.debug)
this.logger = options.logger ?? getLogger(undefined, undefined, options.debug)
this.onAfterDownload = options.onAfterDownload
this.onBeforeDownload = options.onBeforeDownload
this.useGlobal = options.useGlobal ?? true
Expand Down
4 changes: 3 additions & 1 deletion node/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ interface ServeOptions {
formatImportError?: FormatFunction
port: number
servePath: string
userLogger?: LogFunction
systemLogger?: LogFunction
}

Expand All @@ -177,9 +178,10 @@ export const serve = async ({
onBeforeDownload,
port,
servePath,
userLogger,
systemLogger,
}: ServeOptions) => {
const logger = getLogger(systemLogger, debug)
const logger = getLogger(systemLogger, userLogger, debug)
const deno = new DenoBridge({
debug,
logger,
Expand Down

0 comments on commit 7aa23aa

Please sign in to comment.