Skip to content

fix(cli): map racket to .rkt file suffix - #241

Merged
clearloop merged 1 commit into
clearloop:mainfrom
Eliot00:fix/racket-file-suffix
Nov 26, 2026
Merged

clearloop merged 1 commit into
clearloop:mainfrom
Eliot00:fix/racket-file-suffix

Conversation

@Eliot00

@Eliot00 Eliot00 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Problem

Selecting racket as the language generates a file with a .c extension.
LeetCode returns the correct Racket boilerplate, but suffix() in
src/helper.rs has no arm for racket, so it falls through to the default
_ => Ok("c"). The result is a Racket source file named *.c.

Fix

Add a racket => rkt arm to the language-to-suffix mapping.

@clearloop
clearloop merged commit edebd45 into clearloop:main Nov 26, 2026
3 checks passed
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