Skip to content

Commit

Permalink
remove logs + respect args.debug (#1078)
Browse files Browse the repository at this point in the history
* remove logs

* replace debug: true with args.debug

---------

Co-authored-by: Shane Osbourne <[email protected]>
  • Loading branch information
shakyShane and Shane Osbourne authored Sep 24, 2024
1 parent bb85950 commit b03323c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/features/duck-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default class DuckPlayerFeature extends ContentFeature {

const locale = args?.locale || args?.language || 'en'
const env = new Environment({
debug: true,
debug: args.debug,
injectName: import.meta.injectName,
platform: this.platform,
locale
Expand Down
2 changes: 0 additions & 2 deletions src/features/duckplayer/overlays.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ export async function initOverlays (settings, environment, messages) {
return
}

console.log('did get initial setup ', initialSetup)

if (!initialSetup) {
console.error('cannot continue without user settings')
return
Expand Down

0 comments on commit b03323c

Please sign in to comment.