Skip to content

Commit

Permalink
fix: Do not render class in ruby response
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x authored Aug 30, 2024
1 parent e35aae9 commit b66ea5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/code-sample/ruby.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const formatRubyResponse = (
responseRubyClassName: string,

Check failure on line 63 in src/lib/code-sample/ruby.ts

View workflow job for this annotation

GitHub Actions / Format code

'responseRubyClassName' is defined but never used. Allowed unused args must match /^_/u

Check failure on line 63 in src/lib/code-sample/ruby.ts

View workflow job for this annotation

GitHub Actions / Lint (Node.js v18)

'responseRubyClassName' is defined but never used. Allowed unused args must match /^_/u

Check failure on line 63 in src/lib/code-sample/ruby.ts

View workflow job for this annotation

GitHub Actions / Lint (Node.js v20)

'responseRubyClassName' is defined but never used. Allowed unused args must match /^_/u

Check failure on line 63 in src/lib/code-sample/ruby.ts

View workflow job for this annotation

GitHub Actions / Typecheck (Node.js v18)

'responseRubyClassName' is declared but its value is never read.

Check failure on line 63 in src/lib/code-sample/ruby.ts

View workflow job for this annotation

GitHub Actions / Typecheck (Node.js v20)

'responseRubyClassName' is declared but its value is never read.

Check failure on line 63 in src/lib/code-sample/ruby.ts

View workflow job for this annotation

GitHub Actions / Build / Package

'responseRubyClassName' is declared but its value is never read.
): string => {
const params = formatRubyArgs(responseParams)
return `<Seam::${responseRubyClassName}:0x00000\n${params}>`
return `${params}`
}

const formatRubyArgs = (jsonParams: NonNullJson): string =>
Expand Down

0 comments on commit b66ea5a

Please sign in to comment.