Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update ioredis to v5.0.4 #1172

Merged
merged 9 commits into from
May 4, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: fixed formatting
  • Loading branch information
Vamsi Ampolu committed Apr 22, 2022
commit b6b76f1b8c579d69faedf1b69e5fdf0f1b9b32b1
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ mocking the redis-server is a better option.

Cases like:


- Your workflow already use a local redis-server instance for the dev server.
- You're on a platform
[without an official redis release](https://github.com/MSOpenTech/redis),
Expand Down
1 change: 0 additions & 1 deletion src/command.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import IoredisCommand from 'ioredis/built/Command'
import asCallback from 'standard-as-callback'


export function isInSubscriberMode(RedisMock) {
if (RedisMock.channels === undefined) {
return false
Expand Down
1 change: 0 additions & 1 deletion src/commands/xread.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export function xread(option, ...args) {

const { op, opVal, rest } =
option === 'STREAMS'
? { op: 'COUNT', opVal: Infinity, rest: args }
Expand Down
2 changes: 1 addition & 1 deletion src/pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Pipeline {
exec(callback) {
// eslint-disable-next-line prefer-destructuring
const batch = this.batch

this.batch = []
return asCallback(
Promise.all(batch.map(cmd => cmd())).then(replies =>
Expand Down