Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Shoham Elias <116083498+shohamazon@users.noreply.github.com>
  • Loading branch information
shohamazon and Yury-Fridlyand authored Aug 20, 2024
1 parent 0d88f5f commit 738322c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/src/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3256,7 +3256,9 @@ export class BaseClient {

/**
* Returns the original source code of a script in the script cache.
* See {@link https://valkey.io/commands/script-show} for more details.
*
* @see {@link https://valkey.io/commands/script-show|valkey.io} for more details.
* @remarks Since Valkey version 8.0.0.
*
* @param sha1 - The SHA1 digest of the script.
* @param decoder - (Optional) {@link Decoder} type which defines how to handle the response. If not set, the default decoder from the client config will be used.
Expand All @@ -3268,8 +3270,6 @@ export class BaseClient {
* const scriptSource = await client.scriptShow(scriptHash);
* console.log(scriptSource); // Output: "return { KEYS[1], ARGV[1] }"
* ```
*
* @remarks Since Valkey version 8.0.0.
*/
public async scriptShow(
sha1: GlideString,
Expand Down

0 comments on commit 738322c

Please sign in to comment.