Skip to content

Commit d34cb9c

Browse files
authored
fix #1819 - fix EXISTS reply (#1820)
* fix #1819 - fix EXISTS reply * fix for f3f946f - "fix" tests
1 parent 8062c2b commit d34cb9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/client/lib/commands/EXISTS.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('EXISTS', () => {
2222
testUtils.testWithClient('client.exists', async client => {
2323
assert.equal(
2424
await client.exists('key'),
25-
false
25+
0
2626
);
2727
}, GLOBAL.SERVERS.OPEN);
2828
});

packages/client/lib/commands/EXISTS.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export function transformArguments(
1111
return pushVerdictArguments(['EXISTS'], keys);
1212
}
1313

14-
export { transformBooleanReply as transformReply } from './generic-transformers';
14+
export declare function transformReply(): number;

0 commit comments

Comments
 (0)