Skip to content

Commit 8d6bd9a

Browse files
committed
Adjust log messaging to make it clear if types are being included or excluded
1 parent 7eb6b57 commit 8d6bd9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/tail.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ 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}'` : ''
1313

14-
const text = `Streaming${including}${excluding} Logs${filters} [Ctrl-C to Cancel]`
14+
const text = `Streaming${including} Logs${excluding}${filters} [Ctrl-C to Cancel]`
1515
const spinner = ora(text)
1616
const output = fn => {
1717
spinner.stop()

0 commit comments

Comments
 (0)