Skip to content

muxrpcli@3 style help - #4

Merged
dominictarr merged 1 commit into
masterfrom
help
May 13, 2019
Merged

muxrpcli@3 style help#4
dominictarr merged 1 commit into
masterfrom
help

Conversation

@dominictarr

Copy link
Copy Markdown
Contributor

@ahdinosaur ahdinosaur left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to add these logs? if so, instead of console.log and console.error can we use the built-in logger at ssb-server/plugins/logging.js?

Comment thread index.js
opts = opts || {}

if(!isString(opts.query)) return pull.values([])
console.error('search:', opts)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accidental log?

Comment thread index.js
pull(
search.query({query: opts.query}),
pull.drain(function (data) {
console.log('found:', data.key)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accidental log?

@dominictarr
dominictarr merged commit ab8b33f into master May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants