Skip to content

Commit e14f22e

Browse files
Updating Logger
2 parents bd3eb9d + 490c8f8 commit e14f22e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/tail.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ const read = require('./read')
88

99
module.exports = async (selected, logs, groups, options) => {
1010
const including = options.include && options.include.length > 0 ? ` '${options.include.join(', ')}'` : ''
11-
const excluding = options.exclude && options.exclude.length > 0 ? ` '${options.exclude.join(', ')}'` : ''
11+
const excluding = options.exclude && options.exclude.length > 0 ? ` excluding '${options.exclude.join(', ')}'` : ''
1212
const filters = options.filter && options.filter.length > 0 ? ` containing '${options.filter}'` : ''
13-
14-
const text = chalk.bold(`Streaming${including}${excluding} Logs${filters}`).concat(' [Ctrl-C to Cancel]\n')
13+
const text = chalk.bold(`Streaming${including} Logs${excluding}${filters}`).concat(' [Ctrl-C to Cancel]\n')
1514
const spinner = ora(text)
1615
const output = fn => {
1716
spinner.stop()

0 commit comments

Comments
 (0)