Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maidh91 committed Nov 8, 2024
1 parent 84760ef commit b19b91f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Logger {
pretty: flags.log
})
}

constructor ({ labels, fields, stacks = false, level, pretty = false } = {}) {
labels = constants.PLATFORM_CHANNEL === 'prod' ? (labels ?? '') : 'run,sidecar,session'
fields = constants.PLATFORM_CHANNEL === 'prod' ? (fields ?? '') : 'level,date,time,label,delta'
Expand Down
2 changes: 1 addition & 1 deletion lib/tryboot.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = function tryboot () {
if (flags.logLabels) args.push('--log-labels', flags.logLabels)
if (flags.logStacks) args.push('--log-stacks')
if (args.length > length) detached = false

const sc = spawn(RUNTIME, args, { detached, stdio: detached ? 'ignore' : 'inherit', cwd: PLATFORM_DIR })
sc.unref()
}

0 comments on commit b19b91f

Please sign in to comment.